# Packages
No description provided by the author
# Functions
Hack to convert from github.PushEventRepository to github.Repository.
GetEventWithRenderConfig wraps any github Event into an EventWithRenderConfig which also contains per-subscription configuration options.
No description provided by the author
No description provided by the author
NewPlugin returns an instance of a Plugin.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
ResponseTypeJSON indicates that response type is json.
ResponseTypePlain indicates that response type is text plain.
No description provided by the author
TokenTTL is the OAuth token expiry duration in seconds.
WSEventConfigUpdate is the WebSocket event to update the configurations on webapp.
No description provided by the author
# Structs
No description provided by the author
configuration captures the plugin's external configuration as exposed in the Mattermost server configuration, as well as values computed from the configuration.
No description provided by the author
EventWithRenderConfig holds an event along with configuration options for rendering.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RenderConfig holds various configuration options to be used in a template for redering an event.
No description provided by the author
Only send down fields to client that are needed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WebhookBroker is a message broker for webhook events.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
HTTPHandlerFuncWithContext is http.HandleFunc but with a Context attached.
HTTPHandlerFuncWithUserContext is http.HandleFunc but with a UserContext attached.
ResponseType indicates type of response returned by api.