healthcheck

package
v3.17.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: MIT Imports: 0 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MeasuredStatus added in v3.14.0

type MeasuredStatus interface {
	Status
	Name() string
}

MeasuredStatus healthcheck interface which will be used in metrics gathering

type Nil

type Nil struct{}

Nil healtcheck

func (*Nil) Status

func (s *Nil) Status() (bool, string)

Status is always healthy

type Status

type Status interface {
	Status() (alive bool, details string)
}

Status check interface

Jump to

Keyboard shortcuts

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