Versions in this module Expand all Collapse all v0 v0.1.0 Jun 8, 2023 Changes in this version + type CommandHandler struct + func (c *CommandHandler) Handle(args ...string) (string, error) + type Handler interface + Handle func(args ...string) (string, error) + type HandlerFunc func(args ...string) (string, error) + type HandlerMap struct + type Plugin struct + func NewWithConfig(conf *config.Config) *Plugin + func NewWithSplunk(sp splunk.Splunk, conf *config.Config) *Plugin + func NewWithStore(store store.Store, conf *config.Config) *Plugin + func (p *Plugin) CreatePost(post *model.Post) (*model.Post, error) + func (p *Plugin) ExecuteCommand(_ *mattermostPlugin.Context, commandArgs *model.CommandArgs) (*model.CommandResponse, *model.AppError) + func (p *Plugin) GetConfiguration() *config.Config + func (p *Plugin) GetSlashCommand() (*model.Command, error) + func (p *Plugin) GetUsersInChannel(channelID, sortBy string, page, perPage int) ([]*model.User, error) + func (p *Plugin) KVDelete(key string) *model.AppError + func (p *Plugin) KVGet(key string) ([]byte, *model.AppError) + func (p *Plugin) KVSet(key string, value []byte) *model.AppError + func (p *Plugin) LogDebug(msg string, keyValuePairs ...interface{}) + func (p *Plugin) LogError(msg string, keyValuePairs ...interface{}) + func (p *Plugin) LogInfo(msg string, keyValuePairs ...interface{}) + func (p *Plugin) LogWarn(msg string, keyValuePairs ...interface{}) + func (p *Plugin) NewHandler(args *model.CommandArgs) Handler + func (p *Plugin) OnActivate() error + func (p *Plugin) OnConfigurationChange() error + func (p *Plugin) PublishWebSocketEvent(event string, payload map[string]interface{}, ...) + func (p *Plugin) SendEphemeralPost(userID string, post *model.Post) *model.Post + func (p *Plugin) ServeHTTP(_ *mattermostPlugin.Context, w http.ResponseWriter, req *http.Request)