summaryrefslogtreecommitdiff
path: root/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'state.go')
-rw-r--r--state.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/state.go b/state.go
index 6e49a397..d1068ab3 100644
--- a/state.go
+++ b/state.go
@@ -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