Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProbeHandler ¶
type ProbeHandler struct {
// contains filtered or unexported fields
}
ProbeHandler aggregates health probers.
func NewProbeHandler ¶
func NewProbeHandler() *ProbeHandler
NewProbeHandler returns a new ProbeHandler.
func (*ProbeHandler) AddProbe ¶
func (h *ProbeHandler) AddProbe(p probe)
AddProbe adds a health prober.
func (*ProbeHandler) ProbeHandler ¶
func (h *ProbeHandler) ProbeHandler(resp http.ResponseWriter, _ *http.Request)
ProbeHandler writes a result of the health probe.
Click to show internal directories.
Click to hide internal directories.