health

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCustomHealthCheckFunc

func NewCustomHealthCheckFunc(checker Checker, now func() time.Time) func(context.Context) (details interface{}, err error)

NewCustomHealthCheckFunc returns a new health check function.

Types

type Checker

type Checker interface {
	Check(ctx context.Context) error
}

Jump to

Keyboard shortcuts

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