std

package
v2.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	Logger health.Logger
	// contains filtered or unexported fields
}

Manager is the standard manager for application health checks.

func (*Manager) AddCheck

func (m *Manager) AddCheck(name string, checker health.Checker, opts ...health.AddCheckOption) error

func (*Manager) AddReporter

func (m *Manager) AddReporter(name string, r health.Reporter) error

func (*Manager) Run

func (m *Manager) Run(ctx context.Context) <-chan error

func (*Manager) Stop

func (m *Manager) Stop(ctx context.Context) error

Jump to

Keyboard shortcuts

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