OSDN Git Service

update
[bytom/vapor.git] / toolbar / precog / common / const.go
index c6a75f9..73d706b 100644 (file)
@@ -7,3 +7,10 @@ const (
        NodeBusyStatus
        NodeOfflineStatus
 )
+
+var StatusMap = map[uint8]string{
+       NodeHealthyStatus:   "healthy",
+       NodeCongestedStatus: "congested",
+       NodeBusyStatus:      "busy",
+       NodeOfflineStatus:   "offline",
+}