alerting

package
v0.0.1-untested Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(config *config.ServerConfig, noAlerting bool)

func ServerAlert

func ServerAlert(category, component, severity string)

Types

type AlertProvider

type AlertProvider interface {
	Send(category, name, status string) error
	Name() string
}

type AlertingConfig

type AlertingConfig struct {
	// contains filtered or unexported fields
}
var Config AlertingConfig

Directories

Path Synopsis
providers

Jump to

Keyboard shortcuts

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