monitoring

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2025 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrShutdownTimeout  = errors.New("shutdown timeout")
	ErrDuplicateMail    = errors.New("duplicate mail id")
	ErrDeadlineExceeded = errors.New("deadline exceeded")
)

Functions

This section is empty.

Types

type TargetMonitor

type TargetMonitor struct {
	// contains filtered or unexported fields
}

func NewTargetMonitor

func NewTargetMonitor(target *config.Target, metrics *metrics.Metrics) *TargetMonitor

func (*TargetMonitor) Shutdown

func (t *TargetMonitor) Shutdown(ctx context.Context) error

func (*TargetMonitor) Start

func (t *TargetMonitor) Start(ctx context.Context)

Jump to

Keyboard shortcuts

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