Documentation
¶
Overview ¶
Package slack holds utilities for bootstrapping a Slack API client from the metadata injected by the SlackBinding. Within a process running in the context of a SlackBinding, users can write:
client, err := slack.New(ctx)
to get a client authorized with the access token from the SlackBinding.
Index ¶
Constants ¶
View Source
const ( VolumeName = "slack-binding" MountPath = bindings.MountPath + "/slack" // filepath.Join isn't const. )
Variables ¶
This section is empty.
Functions ¶
func AccessToken ¶
AccessToken reads the file named accessToken that is mounted by the SlackBinding.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.