mirror of https://github.com/statping/statping
Updated Notifier Example (markdown)
parent
0d3dd81e30
commit
c7135fb97e
|
@ -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
|
Loading…
Reference in New Issue