mirror of https://github.com/statping/statping
Updated Notifiers (markdown)
parent
99855bcc3c
commit
a1ccd2e358
|
@ -5,6 +5,7 @@ Statup includes multiple Notifiers to alert you when your services are offline.
|
||||||
- Must have a unique `METHOD` name
|
- Must have a unique `METHOD` name
|
||||||
- Struct must have `*Notification` pointer in it.
|
- Struct must have `*Notification` pointer in it.
|
||||||
- Must create and add your notifier variable in `init()`
|
- Must create and add your notifier variable in `init()`
|
||||||
|
- Should have a form for user to input their variables/keys. `Form: []NotificationForm{}`
|
||||||
|
|
||||||
## Notification Interface
|
## Notification Interface
|
||||||
Statup has the `Notifier` interface which you'll need to include in your notifier. Below is the current interface.
|
Statup has the `Notifier` interface which you'll need to include in your notifier. Below is the current interface.
|
||||||
|
|
Loading…
Reference in New Issue