14 lines
190 B
Go
14 lines
190 B
Go
|
package health
|
||
|
|
||
|
import "context"
|
||
|
|
||
|
type HealthCheck struct {
|
||
|
Status string `json:"status"`
|
||
|
}
|
||
|
|
||
|
type ReadyCheck struct {
|
||
|
Ready string `json:"ready"`
|
||
|
}
|
||
|
|
||
|
type Check func(context.Context) error
|