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
}
func New ¶
func New(config *WebhookNotifierConfig) (*WebhookNotifier, error)
func (*WebhookNotifier) Notify ¶
func (n *WebhookNotifier) Notify(ctx context.Context, subject string, message string) (res *notifier.NotifyResult, err error)
type WebhookNotifierConfig ¶
type WebhookNotifierConfig struct {
Url string `json:"url"`
}
Click to show internal directories.
Click to hide internal directories.