Documentation ¶
Index ¶
Constants ¶
View Source
const ( // APIVersion is the version for the APIs in this package APIVersion = "v1" // RoutesPrefix is the route prefix for APIs in this package RoutesPrefix = "/v1" )
View Source
const (
SlackHTTPRequestParameter = "payload"
)
Variables ¶
View Source
var (
ErrAuthzFailed = errors.New("authorization failed")
)
Functions ¶
func RegisterRoutes ¶
RegisterRoutes registers routes from this package on the given server
Types ¶
type ErrResponse ¶
type ErrResponse struct {
Error string `json:"error"`
}
Click to show internal directories.
Click to hide internal directories.