Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
Checker runs health checks.
func (*Checker) Handler ¶
func (c *Checker) Handler() http.StdHandlerFunc
Handler returns an http.Handler that writes JSON health status. You can mount this as a liveness or readiness endpoint depending on which checks you register on the Checker.
Click to show internal directories.
Click to hide internal directories.