alert

package
v2.2.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTextContent = &TextContent{}

Functions

func Send

func Send(a *dbschema.NgingAlertRecipient, extra echo.H, params param.Store) (err error)

Send 发送警报

Types

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