package
Version:
v0.0.0-...-d1fbd11
Opens a new window with list of versions in this module.
Published: Jun 16, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewEmailAlerter() *emailAlert
NewEmailAlerter returns email alert
func NewTelegramAlerter() *telegramAlert
NewTelegramAlerter returns telegram alerter
type Email interface {
Send(msg, token, toEmail string) error
}
Email to send mail alert
Telegram to send telegram alert interface
Source Files
¶
Click to show internal directories.
Click to hide internal directories.