notifier

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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