health

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 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 HandlerOption

type HandlerOption func(HealthzHandler)

func Observe

func Observe(observables ...Observable) HandlerOption

type HealthzHandler

type HealthzHandler interface {
	Observe(...Observable)
	HandleReadyzCheck(*http.Request) error
}

func NewHandler

func NewHandler(name string, options ...HandlerOption) HealthzHandler

type Observable

type Observable interface {
	Ready(includes, excludes []string, verbose bool) error
}

Jump to

Keyboard shortcuts

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