Adding New Notifier

This section describes how to add a new Notifier to Finala.

// RegisterNotifiers registers existing notifier ctor to the ctor map we use to initiate all notifiers
func RegisterNotifiers() {
notifiers.Register("slack", slack.NewManager)
notifiers.Register("NewNotifierName",NewNotifierManager)
}
info
  • Don't forget to add a new notifier to RegisterNotifiers load.go
  • Each new Notifier will have to implement the interface of Notifier common.go
  • Update the Notifier Configuration notifier.yaml with the new Notifier configuration section.