watchdog

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watchdog

type Watchdog struct {
	Probe health.Probe

	Logger *slog.Logger

	Timeout time.Duration
	// contains filtered or unexported fields
}

func New

func New(probe health.Probe, channelName string, timeout time.Duration, alertManagerURL string, logger *slog.Logger) *Watchdog

func (*Watchdog) Run

func (w *Watchdog) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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