Documentation ¶
Overview ¶
Package healthcheck provides configuration of startup probes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthChecker ¶
type HealthChecker interface { AddHTTPCheck(name string, url string) error AddPgCheck(name string, dsn string) error AddCheck(name string, check Check) error GetHandler() http.Handler }
HealthChecker manages checks for determining the healhiness of a component.
func NewDefaultHealthChecker ¶
func NewDefaultHealthChecker() (HealthChecker, error)
NewDefaultHealthChecker creates a new HealthCheker implementation using hellofresh/health-go.
Click to show internal directories.
Click to hide internal directories.