Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Webhook ¶
type Webhook struct {
// contains filtered or unexported fields
}
Notifier implements a Notifier for generic webhooks.
func (*Webhook) Drain ¶
Drain consumes and closes the response's body to make sure that the HTTP client can reuse existing connections.
type WebhookConfig ¶
type WebhookConfig struct { commoncfg.HTTPClientConfig AdditionalHeaders map[string]string `yaml:"additional_headers,omitempty"` }
Click to show internal directories.
Click to hide internal directories.