Documentation
¶
Index ¶
Constants ¶
View Source
const ( ReceivedPayload EventType = 1 Failure Status = 0 Success Status = 1 )
Constants defined for notification delivery.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface {
GetReceiveEventNotificationEndpoint() string
}
Config defines methods required for this package.
type Sender ¶
Sender defines methods that can handle a notification.
func NewWebhookSender ¶
NewWebhookSender returns an implementation of a Sender that sends notifications through webhooks.
Click to show internal directories.
Click to hide internal directories.