alert

package
v5.0.2-beta9 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 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

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