alerting

package
v0.0.0-...-6290bb2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	STATUS_OK = iota
	STATUS_FN_NOT_REGISTERED
	STATUS_ERR_WHILE_SENDING
)

Variables

View Source
var RegisteredFn = models.PluginList{
	httpmsg.Plugin,
}

Functions

This section is empty.

Types

type AlertManager

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

func CreateAlertManager

func CreateAlertManager(availableChannels []string, registeredFn models.PluginList) *AlertManager

func (*AlertManager) SendAlert

func (am *AlertManager) SendAlert(i models.AlertInput) (string, int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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