Documentation
¶
Overview ¶
Package slack implements the slack integration provider.
Index ¶
Constants ¶
View Source
const ( // ClientSlackAPI identifies the Slack HTTP API client. ClientSlackAPI types.ClientName = "api" )
View Source
const TypeSlack = types.ProviderType("slack")
TypeSlack identifies the Slack provider
Variables ¶
View Source
var ( // ErrAPIRequest indicates a Slack API request failed with a non-2xx status ErrAPIRequest = errors.New("slack: api request failed") // ErrSlackAPIError indicates the Slack API returned an error in the response body ErrSlackAPIError = errors.New("slack: api returned error") // ErrSlackChannelMissing indicates the Slack message channel is missing ErrSlackChannelMissing = errors.New("slack: message channel missing") // ErrSlackMessageEmpty indicates the Slack message is empty ErrSlackMessageEmpty = errors.New("slack: message text or blocks required") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.