mirror of
https://github.com/yusing/godoxy.git
synced 2025-06-09 04:52:35 +02:00
updated health status impl
This commit is contained in:
parent
cceebff93a
commit
a1d1325ad6
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue