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
|
package health
|
||||||
|
|
||||||
type Status int
|
type Status uint8
|
||||||
|
|
||||||
const (
|
const (
|
||||||
StatusUnknown Status = (iota << 1)
|
StatusUnknown Status = 0
|
||||||
|
StatusHealthy = (1 << iota)
|
||||||
StatusHealthy
|
|
||||||
StatusNapping
|
StatusNapping
|
||||||
StatusStarting
|
StatusStarting
|
||||||
StatusUnhealthy
|
StatusUnhealthy
|
||||||
|
|
Loading…
Add table
Reference in a new issue