Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Endpoints = map[string]*Endpoint{
getEndpointKey(atlassianConnectJSON): atlassianConnectJSON,
getEndpointKey(confluenceCloudWebhook): confluenceCloudWebhook,
getEndpointKey(saveChannelSubscription): saveChannelSubscription,
getEndpointKey(editChannelSubscription): editChannelSubscription,
getEndpointKey(confluenceServerWebhook): confluenceServerWebhook,
getEndpointKey(getChannelSubscription): getChannelSubscription,
getEndpointKey(autocompleteGetChannelSubscriptions): autocompleteGetChannelSubscriptions,
}
Endpoints is a map of endpoint key to endpoint object Usage: getEndpointKey(GetMetadata): GetMetadata
Functions ¶
func IsAdmin ¶ added in v1.2.0
func IsAdmin(w http.ResponseWriter, r *http.Request) bool
IsAdmin verifies if provided request is performed by a logged-in Mattermost user.
func ReturnStatusOK ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.