Updated Notifier Example (markdown)

master
Hunter Long 2019-11-05 12:22:18 -08:00
parent 0d3dd81e30
commit c7135fb97e
1 changed files with 6 additions and 1 deletions

@ -165,3 +165,8 @@ func (n *Example) OnUpdatedNotifier(s *Notification) {
n.AddQueue(msg) n.AddQueue(msg)
} }
``` ```
# Adding Notifiers
To add a notifier to the Statping application, simply append your Notifier in the `AttachNotifiers()` function inside of [core/core.go](https://github.com/hunterlong/statping/blob/master/core/core.go).
https://github.com/hunterlong/statping/blob/master/core/core.go#L183