Documentation
¶
Overview ¶
Package discord delivers Console events to a Discord channel via a channel Webhook URL. Discord webhooks need no bot token or scopes — just the URL — which keeps setup trivial for self-hosters, the same way the Slack sink does.
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 Discord channel 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 Discord channel Webhook.
Click to show internal directories.
Click to hide internal directories.