add slackrus slack notifications

This commit is contained in:
ubergesundheit 2017-11-27 12:04:08 +01:00 committed by Fabrizio Steiner
parent d989254b1a
commit fd7f8a40ed
6 changed files with 95 additions and 10 deletions

View file

@ -26,6 +26,8 @@ func NewNotifier(c *cli.Context) *Notifier {
switch t {
case emailType:
tn = newEmailNotifier(c)
case slackType:
tn = newSlackNotifier(c)
default:
log.Fatalf("Unknown notification type %q", t)
}