health

package
v0.0.0-...-a605f52 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHealthCondition

func AddHealthCondition(name string, condition Condition)

func Healthz

func Healthz() func(req *http.Request) error

Types

type Condition

type Condition interface {
	CheckHealth(ctx context.Context) error
}

Condition defines a interface to check a specific health condition

Jump to

Keyboard shortcuts

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