healthcheck

package
v0.0.0-...-23b4f48 Latest Latest
Warning

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

Go to latest
Published: May 6, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Healthcheck

func Healthcheck(healthcheckables []Healthcheckable) error

Checks health for each of the given health-checkable entities. Fails fast, i.e, when it encounters an unhealthy entity, it immediately returns error.

Types

type HealthcheckFn

type HealthcheckFn = func() error

type Healthcheckable

type Healthcheckable interface {
	Healthcheck() error
}

Jump to

Keyboard shortcuts

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