Documentation ¶ Index ¶ func NewEmpty(data map[string]string) (n.Notifier, error) func NewTelegram(data map[string]string) (n.Notifier, error) type Empty func (e *Empty) Notify(check c.Check, state p.State, message string) error type Telegram func (t *Telegram) Notify(check c.Check, state p.State, message string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewEmpty ¶ added in v0.0.9 func NewEmpty(data map[string]string) (n.Notifier, error) NewEmpty returns a new empty notifier func NewTelegram ¶ func NewTelegram(data map[string]string) (n.Notifier, error) NewTelegram validates and returns a new Telegram notifier Types ¶ type Empty ¶ added in v0.0.9 type Empty struct { } Empty notifier func (*Empty) Notify ¶ added in v0.0.9 func (e *Empty) Notify(check c.Check, state p.State, message string) error Notify empty type Telegram ¶ type Telegram struct { // contains filtered or unexported fields } Telegram notifier func (*Telegram) Notify ¶ func (t *Telegram) Notify(check c.Check, state p.State, message string) error Notify Telegram Source Files ¶ View all Source files empty.go telegram.go Click to show internal directories. Click to hide internal directories.