monitoring

package
v0.0.0-...-aa384c5 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor interface {
	Monitor(context.Context) error
	MonitorName() string
}

Monitor represents a consistent interface for different monitoring components

type MonitorPanic

type MonitorPanic struct {
	PanicValue any
}

func (*MonitorPanic) Error

func (e *MonitorPanic) Error() string

func (*MonitorPanic) Is

func (e *MonitorPanic) Is(err error) bool

type NoOpMonitor

type NoOpMonitor struct{}

noOpMonitor is a no operation monitor

func (*NoOpMonitor) Monitor

func (no *NoOpMonitor) Monitor(context.Context) error

func (*NoOpMonitor) MonitorName

func (no *NoOpMonitor) MonitorName() string

Jump to

Keyboard shortcuts

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