Versions in this module Expand all Collapse all v1 v1.0.5 May 31, 2021 Changes in this version + func Alarm(message string) + type Config struct + Targets []string + Type string + func ExampleConfig() []*Config + type SMTPConfig struct + From string + Password string + Server string + Username string + func SMTPExampleConfig() *SMTPConfig + func (cfg *SMTPConfig) Send(targets []string, message string) + type TelegramConfig struct + Api string + Token string + func TelegramConfigExample() *TelegramConfig + func (cfg *TelegramConfig) Send(targets []string, message string) + type WebHookConfig struct + Method string + Timeout time.Duration + func WebHookExampleConfig() *WebHookConfig + func (cfg *WebHookConfig) Send(targets []string, message string)