Versions in this module Expand all Collapse all v4 v4.4.0 Jun 25, 2020 Changes in this version + var DefaultHandler = NewHandler() + var DefaultPattern = "/health" + func StartServer(addr string, reporters ...Reporter) error + func StopServer() error + type Handler struct + func NewHandler() *Handler + func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (h *Handler) With(reporters ...Reporter) *Handler + func (h *Handler) WithErrors() *Handler + type Reporter interface + IsHealthy func() error + type ReporterFunc func() error + func Null() ReporterFunc + func (f ReporterFunc) IsHealthy() error Other modules containing this package github.com/msales/pkg github.com/msales/pkg/v3