Documentation ¶
Index ¶
Constants ¶
View Source
const ( PostIDDoesNotExist = "PostIDDoesNotExist" PostIDExists = "ID2" UserID = "UserID" )
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(registerFunc RegisterFunc)
Register should be called by the plugin to register all necessary commands
Types ¶
type Command ¶
type Command struct { Context *plugin.Context Args *model.CommandArgs ChannelID string API pluginapi.API }
Handler handles commands
type RegisterFunc ¶
RegisterFunc is a function that allows the runner to register commands with the mattermost server.
Click to show internal directories.
Click to hide internal directories.