fixed enum comments

This commit is contained in:
Michael Baird 2017-04-25 15:27:10 -05:00
parent 35c1648c75
commit fe0e8a3c5b
2 changed files with 4 additions and 1 deletions

View file

@ -92,6 +92,7 @@ func (n *nopBroadcastReceiver) Start(b BroadcastHandler) error { return nil }
// NopBroadcastReceiver is a no op implementation of the BroadcastReceiver
var NopBroadcastReceiver = &nopBroadcastReceiver{}
// Broadcast message types
const (
MessageTypeCreateSlice = 1
MessageTypeCreateIndex = 2

View file

@ -13,8 +13,10 @@ const (
// DefaultReplicaN is the default number of replicas per partition.
DefaultReplicaN = 1
)
// NodeState represents node state returned in /status endpoint for a node in the cluster.
// NodeState represents node state returned in /status endpoint for a node in the cluster.
const (
NodeStateUp = "UP"
NodeStateDown = "DOWN"
)