Documentation ¶ Index ¶ func FormatAlertHtml(message webhook.Message, toTz *time.Location) (string, error) func RunBot(token string, alertmanagerMessages <-chan webhook.Message, ...) type Recipient func NewRecipient(recipient string) *Recipient func (r *Recipient) Recipient() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func FormatAlertHtml ¶ func FormatAlertHtml(message webhook.Message, toTz *time.Location) (string, error) func RunBot ¶ func RunBot( token string, alertmanagerMessages <-chan webhook.Message, recipients []Recipient, tz *time.Location, logger *log.Logger, messagesSentCounter, messagesSendingErrorCounter prometheus.Counter, ) Types ¶ type Recipient ¶ type Recipient struct { // contains filtered or unexported fields } func NewRecipient ¶ func NewRecipient(recipient string) *Recipient func (*Recipient) Recipient ¶ func (r *Recipient) Recipient() string Source Files ¶ View all Source files alert.go bot.go recipient.go Click to show internal directories. Click to hide internal directories.