mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-23 17:41:05 +01:00
updated health status impl
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
package health
|
||||
|
||||
type Status int
|
||||
type Status uint8
|
||||
|
||||
const (
|
||||
StatusUnknown Status = (iota << 1)
|
||||
|
||||
StatusHealthy
|
||||
StatusUnknown Status = 0
|
||||
StatusHealthy = (1 << iota)
|
||||
StatusNapping
|
||||
StatusStarting
|
||||
StatusUnhealthy
|
||||
|
||||
Reference in New Issue
Block a user