package beam

type Verb uint32

const (
	Ack Verb = iota
	Attach
	Connect
	Error
	File
	Get
	Log
	Ls
	Set
	Spawn
	Start
	Stop
	Watch
)

func (v Verb) String() string {
	switch v {
	case Ack:
		return "Ack"
	case Attach:
		return "Attach"
	case Connect:
		return "Connect"
	case Error:
		return "Error"
	case File:
		return "File"
	case Get:
		return "Get"
	case Log:
		return "Log"
	case Ls:
		return "Ls"
	case Set:
		return "Set"
	case Spawn:
		return "Spawn"
	case Start:
		return "Start"
	case Stop:
		return "Stop"
	case Watch:
		return "Watch"
	}
	return ""
}

package beam

type Verb uint32

const (
	Ack Verb = iota
	Attach
	Connect
	Error
	File
	Get
	Log
	Ls
	Set
	Spawn
	Start
	Stop
	Watch
)

--- 
+++ 
@@ -17,3 +17,35 @@
 	Stop
 	Watch
 )
+
+func (v Verb) String() string {
+	switch v {
+	case Ack:
+		return "Ack"
+	case Attach:
+		return "Attach"
+	case Connect:
+		return "Connect"
+	case Error:
+		return "Error"
+	case File:
+		return "File"
+	case Get:
+		return "Get"
+	case Log:
+		return "Log"
+	case Ls:
+		return "Ls"
+	case Set:
+		return "Set"
+	case Spawn:
+		return "Spawn"
+	case Start:
+		return "Start"
+	case Stop:
+		return "Stop"
+	case Watch:
+		return "Watch"
+	}
+	return ""
+}
Add string representation of verb enum

Docker-DCO-1.1-Signed-off-by: Ben Firshman <ben@firshman.co.uk> (github: bfirsh)
