Versions in this module Expand all Collapse all v0 v0.3.0 Jun 7, 2021 Changes in this version + type Email struct + ID string + Pass string + func (e *Email) SendMessage(body string) error + type Notifier interface + SendMessage func(string) error + func NewEmail(id, pass string) Notifier + func NewTelegram(username, token string) (Notifier, error) + type Telegram struct + Bot *tgbotapi.BotAPI + ChatID int64 + func (t *Telegram) SendMessage(body string) error