Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Alerts = parseConfig()
View Source
var Log = logging.MustGetLogger("keyserver")
Functions ¶
Types ¶
type AlertConfig ¶
type AlertConfig struct { SlackWebhookURL string SMTPServer string SMTPPort int MailFrom string Password string MailTo string }
func (*AlertConfig) SendAlerts ¶
func (ac *AlertConfig) SendAlerts(message string)
Click to show internal directories.
Click to hide internal directories.