diff options
author | Wolfy-J <[email protected]> | 2018-03-31 18:04:33 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-03-31 18:04:33 +0300 |
commit | e0c6b54b5b7dc3b9e7fc417f87f176fdbdb723f9 (patch) | |
tree | 6fe5c669f778b0b6e583cb99f5fac3409caf5e97 /state.go | |
parent | 3d1b67afba6fcc674cf3c3de758188321253d5d8 (diff) |
string state, pool workers list
Diffstat (limited to 'state.go')
-rw-r--r-- | state.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,7 @@ package roadrunner import ( + "fmt" "sync" "sync/atomic" "time" @@ -8,6 +9,8 @@ import ( // State represents worker status and updated time. type State interface { + fmt.Stringer + // Value returns state value Value() int64 |