mirror of https://github.com/statping/statping
Updated Notifiers (markdown)
parent
f1d67acd7f
commit
245d4a33d3
|
@ -11,7 +11,7 @@ Statup includes multiple Notifiers to alert you when your services are offline.
|
||||||
- Should have a form for user to input their variables/keys. `Form: []notifier.NotificationForm`
|
- Should have a form for user to input their variables/keys. `Form: []notifier.NotificationForm`
|
||||||
|
|
||||||
## Notifier Interface
|
## Notifier 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. Statup includes many other events/triggers for your notifier, checkout <a href="https://github.com/hunterlong/statup/wiki/Notifier-Events">Notifier Events</a> to see all of them.
|
||||||
```go
|
```go
|
||||||
// Notifier interface is required to create a new Notifier
|
// Notifier interface is required to create a new Notifier
|
||||||
type Notifier interface {
|
type Notifier interface {
|
||||||
|
|
Loading…
Reference in New Issue