diff options
Diffstat (limited to 'vendor/github.com/smartystreets/goconvey/web/server/messaging/messages.go')
-rw-r--r-- | vendor/github.com/smartystreets/goconvey/web/server/messaging/messages.go | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/vendor/github.com/smartystreets/goconvey/web/server/messaging/messages.go b/vendor/github.com/smartystreets/goconvey/web/server/messaging/messages.go deleted file mode 100644 index 7a920911..00000000 --- a/vendor/github.com/smartystreets/goconvey/web/server/messaging/messages.go +++ /dev/null @@ -1,56 +0,0 @@ -package messaging - -/////////////////////////////////////////////////////////////////////////////// - -type WatcherCommand struct { - Instruction WatcherInstruction - Details string -} - -type WatcherInstruction int - -func (this WatcherInstruction) String() string { - switch this { - case WatcherPause: - return "Pause" - case WatcherResume: - return "Resume" - case WatcherIgnore: - return "Ignore" - case WatcherReinstate: - return "Reinstate" - case WatcherAdjustRoot: - return "AdjustRoot" - case WatcherExecute: - return "Execute" - case WatcherStop: - return "Stop" - default: - return "UNKNOWN INSTRUCTION" - } -} - -const ( - WatcherPause WatcherInstruction = iota - WatcherResume - WatcherIgnore - WatcherReinstate - WatcherAdjustRoot - WatcherExecute - WatcherStop -) - -/////////////////////////////////////////////////////////////////////////////// - -type Folders map[string]*Folder - -type Folder struct { - Path string // key - Root string - Ignored bool - Disabled bool - BuildTags []string - TestArguments []string -} - -/////////////////////////////////////////////////////////////////////////////// |