diff options
author | Wolfy-J <[email protected]> | 2018-06-11 21:46:03 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-11 21:46:03 +0300 |
commit | aba7704b71a00294b38a995e3ecadd0bd7cc6c12 (patch) | |
tree | b8da096852811dd6240676aa839674ae1451ce3f /state.go | |
parent | 2b626f392f8884573aa26d51d4df9d16136a282e (diff) |
no library dependency
Diffstat (limited to 'state.go')
-rw-r--r-- | state.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -26,6 +26,9 @@ const ( // StateWorking - working on given payload. StateWorking + // StateStreaming - indicates that worker is streaming the data at the moment. + StateStreaming + // StateStopping - process is being softly stopped. StateStopping @@ -54,6 +57,8 @@ func (s *state) String() string { return "ready" case StateWorking: return "working" + case StateStreaming: + return "streaming" case StateStopped: return "stopped" case StateErrored: |