health

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Binding = "health-checks"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthCheckApiFactory

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

func NewHealthCheckApiFactory

func NewHealthCheckApiFactory(healthChecker gosundheit.Health) *HealthCheckApiFactory

func (HealthCheckApiFactory) Binding

func (factory HealthCheckApiFactory) Binding() string

func (HealthCheckApiFactory) New

func (factory HealthCheckApiFactory) New(_ *xweb.ServerConfig, options map[interface{}]interface{}) (xweb.ApiHandler, error)

func (HealthCheckApiFactory) Validate

func (factory HealthCheckApiFactory) Validate(*xweb.InstanceConfig) error

type HealthCheckApiHandler

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

func (*HealthCheckApiHandler) Binding

func (self *HealthCheckApiHandler) Binding() string

func (*HealthCheckApiHandler) IsHandler

func (self *HealthCheckApiHandler) IsHandler(r *http.Request) bool

func (*HealthCheckApiHandler) Options

func (self *HealthCheckApiHandler) Options() map[interface{}]interface{}

func (*HealthCheckApiHandler) RootPath

func (self *HealthCheckApiHandler) RootPath() string

func (*HealthCheckApiHandler) ServeHTTP

func (self *HealthCheckApiHandler) ServeHTTP(w http.ResponseWriter, request *http.Request)

Jump to

Keyboard shortcuts

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