Documentation ¶
Index ¶
Constants ¶
View Source
const ( HeaderContentType = "Content-Type" HeaderSlackTimestamp = "X-Slack-Request-Timestamp" HeaderSlackSignature = "X-Slack-Signature" HeaderAuthorization = "Authorization" ContentTypeForm = "application/x-www-form-urlencoded" ContentTypeJSONCharsetUTF8 = "application/json; charset=utf-8" ContentTypeJSON = "application/json" // Timeout for short-lived outbound HTTP POST requests. Timeout = 3 * time.Second )
Variables ¶
View Source
var OAuthTokenContextKey = ctxKey("OAuthTokenContext")
Functions ¶
Types ¶
type ResponseMetadata ¶
type SlackResponse ¶
type SlackResponse struct { OK bool `json:"ok"` Warning string `json:"warning,omitempty"` Error string `json:"error,omitempty"` ResponseMetadata *ResponseMetadata `json:"response_metadata,omitempty"` }
Directories ¶
Path | Synopsis |
---|---|
Package apps is a lightweight wrapper over the "apps" methods in Slack's Web API: https://api.slack.com/methods?filter=apps.
|
Package apps is a lightweight wrapper over the "apps" methods in Slack's Web API: https://api.slack.com/methods?filter=apps. |
Package auth is a lightweight wrapper over the "auth" methods in Slack's Web API: https://api.slack.com/methods?filter=auth.
|
Package auth is a lightweight wrapper over the "auth" methods in Slack's Web API: https://api.slack.com/methods?filter=auth. |
Package bookmarks is a lightweight wrapper over the "bookmarks" methods in Slack's Web API: https://api.slack.com/methods?filter=bookmarks.
|
Package bookmarks is a lightweight wrapper over the "bookmarks" methods in Slack's Web API: https://api.slack.com/methods?filter=bookmarks. |
Package bots is a lightweight wrapper over the "bots" methods in Slack's Web API: https://api.slack.com/methods?filter=bots.
|
Package bots is a lightweight wrapper over the "bots" methods in Slack's Web API: https://api.slack.com/methods?filter=bots. |
Package chat is a lightweight wrapper over the "chat" methods in Slack's Web API: https://api.slack.com/methods?filter=chat.
|
Package chat is a lightweight wrapper over the "chat" methods in Slack's Web API: https://api.slack.com/methods?filter=chat. |
Package conversations is a lightweight wrapper over the "conversations" methods in Slack's Web API: https://api.slack.com/methods?filter=conversations.
|
Package conversations is a lightweight wrapper over the "conversations" methods in Slack's Web API: https://api.slack.com/methods?filter=conversations. |
Package reactions is a lightweight wrapper over the "reactions" methods in Slack's Web API: https://api.slack.com/methods?filter=reactions.
|
Package reactions is a lightweight wrapper over the "reactions" methods in Slack's Web API: https://api.slack.com/methods?filter=reactions. |
Package users is a lightweight wrapper over the "users" methods in Slack's Web API: https://api.slack.com/methods?filter=users.
|
Package users is a lightweight wrapper over the "users" methods in Slack's Web API: https://api.slack.com/methods?filter=users. |
Click to show internal directories.
Click to hide internal directories.