Documentation
¶
Overview ¶
Package healthz provides HTTP healthz handling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HealthChecker ¶
HealthChecker represents a named health checker.
var PingHealth HealthChecker = ping{}
PingHealth returns true when called.
func NamedCheck ¶
func NamedCheck(name string, check func(*http.Request) error) HealthChecker
NamedCheck returns a named health check.
Click to show internal directories.
Click to hide internal directories.