healthchecks

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeHealthCheck

func MakeHealthCheck(hcDef *hcconf.HealthCheck, fqdn string, plugins []*config.PluginHealthCheckConfig) (gohc.HealthChecker, error)

Types

type HcHandler

type HcHandler struct {
	// contains filtered or unexported fields
}

func NewHcHandler

func NewHcHandler(cnf *config.HealthCheckConfig) *HcHandler

func (*HcHandler) DisableEntryIp

func (h *HcHandler) DisableEntryIp(fqdn, ip string)

func (*HcHandler) EnableEntryIp

func (h *HcHandler) EnableEntryIp(fqdn, ip string)

func (*HcHandler) ServeHTTP

func (h *HcHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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