alertmanager

package
v0.3.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChannelDingDing int = 1
)

Variables

This section is empty.

Functions

func Send

func Send(alarmUUID string, notification view.Notification) (err error)

Types

type DingDing

type DingDing struct{}

func (*DingDing) Send

func (d *DingDing) Send(notification view.Notification, alarm *db.Alarm, channel *db.AlarmChannel) (err error)

type Operator

type Operator interface {
	Send(notification view.Notification, alarm *db.Alarm, channel *db.AlarmChannel) (err error)
}

Jump to

Keyboard shortcuts

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