health

package
v0.340.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL