mirror of https://github.com/statping/statping
Updated Notifier Example (markdown)
parent
0d3dd81e30
commit
c7135fb97e
|
@ -164,4 +164,9 @@ func (n *Example) OnUpdatedNotifier(s *Notification) {
|
|||
msg := fmt.Sprintf("received a update notifier trigger for notifier: %v\n", s.Method)
|
||||
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
|
Loading…
Reference in New Issue