Documentation ¶
Index ¶
- Constants
- Variables
- func Health(ctx context.Context) (map[string]interface{}, error)
- func HealthHandler(w http.ResponseWriter, _ *http.Request)
- func Initialize(ctx context.Context) func()
- func ReadinessHandler(w http.ResponseWriter, _ *http.Request)
- func Ready(ctx context.Context) (map[string]interface{}, error)
- func Register(service Service, order int)
- type Healthiness
- type Readiness
- type Service
Constants ¶
View Source
const ( ALL report = iota NONE NOTNIL )
View Source
const ( Start runMode = 1 << iota Stop )
Variables ¶
Functions ¶
func HealthHandler ¶
func HealthHandler(w http.ResponseWriter, _ *http.Request)
func Initialize ¶
func ReadinessHandler ¶
func ReadinessHandler(w http.ResponseWriter, _ *http.Request)
Types ¶
type Healthiness ¶
Click to show internal directories.
Click to hide internal directories.