13 lines
296 B
Go
13 lines
296 B
Go
|
package healthcheck
|
||
|
|
||
|
const (
|
||
|
// Unavailable indicates the service is not able to handle requests
|
||
|
Unavailable Status = iota
|
||
|
// Ready indicates the service is ready to handle requests
|
||
|
Ready
|
||
|
// Broken indicates that the healthcheck itself is broken, not serving HTTP
|
||
|
Broken
|
||
|
)
|
||
|
|
||
|
type Status int
|