Documentation
¶
Overview ¶
Package slack delivers Console events to a Slack channel via an Incoming Webhook URL. Incoming Webhooks need no bot token or scopes — just the URL — which keeps setup trivial for self-hosters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notifier ¶
type Notifier struct {
// WebhookURL is the Slack Incoming Webhook endpoint.
WebhookURL string
// HTTP issues the POST. If nil, a client with a sane timeout is used.
HTTP *http.Client
}
Notifier posts events to a Slack Incoming Webhook.
Click to show internal directories.
Click to hide internal directories.