alert

package
v3.6.4 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTextContent = &TextContent{}

Functions

func Send

func Send(a *dbschema.NgingAlertRecipient, alertData *alert.AlertData) (err error)

Send 发送警报

Types

type TagValues added in v3.6.2

type TagValues interface {
	TagValues() map[string]string
}

type TextContent

type TextContent struct {
}

func (*TextContent) EmailContent

func (c *TextContent) EmailContent(params param.Store) []byte

func (*TextContent) MarkdownContent

func (c *TextContent) MarkdownContent(params param.Store) []byte

Jump to

Keyboard shortcuts

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