Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNilConfigData will be returned when config is nil ErrNilConfigData = fmt.Errorf("config data is nil") )
Functions ¶
This section is empty.
Types ¶
type Webhook ¶
Webhook implements the Notifier interface
func (*Webhook) Init ¶
Init initializes the webhook notifier, reads config file and configures the necessary parameters for webhook notifications to work
func (*Webhook) SendNotification ¶
SendNotification sends webhook notification i.e sends a http POST request to the configured URL
Click to show internal directories.
Click to hide internal directories.