Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebhookNotifier ¶
type WebhookNotifier struct {
// contains filtered or unexported fields
}
WebhookNotifier sends notifications to webhook
func NewWebhookNotifier ¶
func NewWebhookNotifier(webhookURL string) WebhookNotifier
NewWebhookNotifier creates new webhook notifier
func (WebhookNotifier) Notify ¶
func (sn WebhookNotifier) Notify(payload Payload) error
Notify convers payload to a readable message and sends it to webhook webhook url
Click to show internal directories.
Click to hide internal directories.