slack

package
v1.11.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

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

func Builder

func Builder() providers.Builder

Builder returns the Slack provider builder

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL