healthcheck

package
v0.0.0-...-7909d78 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(items ...HealthItem) http.Handler

func HandlerFunc

func HandlerFunc(items ...HealthItem) http.HandlerFunc

Types

type Checker

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

type HealthItem

type HealthItem struct {
	Name    string
	Checker Checker
}

Jump to

Keyboard shortcuts

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