Documentation ¶
Overview ¶
Package notify has functions and types used for sending notifications on different communication channel
Package notify has functions and types used for sending notifications on different communication channel ¶
Package notify has functions and types used for sending notifications on different communication channel
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Email ¶
func (*Email) SendMessage ¶
SendMessage takes message body and send it to the given email-id
type Notifier ¶
Notifier can be any type that can SendMessage
func NewTelegram ¶
NewTelegram returns new instance of Telegram service that has new BotAPI instance and chatID.
It requires a username to fetch the appropriate chatID and a token provided by @BotFather on Telegram to create bot Instance
Click to show internal directories.
Click to hide internal directories.