Documentation ¶
Index ¶
- type Env
- type Plugin
- func (p *Plugin) ExecuteCommand(c *plugin.Context, args *model.CommandArgs) (*model.CommandResponse, *model.AppError)
- func (p *Plugin) OnActivate() error
- func (p *Plugin) OnConfigurationChange() (err error)
- func (p *Plugin) OnDeactivate() error
- func (p *Plugin) ServeHTTP(pc *plugin.Context, w http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct { mscalendar.Env // contains filtered or unexported fields }
type Plugin ¶
type Plugin struct { plugin.MattermostPlugin Templates map[string]*template.Template // contains filtered or unexported fields }
func NewWithEnv ¶
func NewWithEnv(env mscalendar.Env) *Plugin
func (*Plugin) ExecuteCommand ¶
func (p *Plugin) ExecuteCommand(c *plugin.Context, args *model.CommandArgs) (*model.CommandResponse, *model.AppError)
func (*Plugin) OnActivate ¶
func (*Plugin) OnConfigurationChange ¶
func (*Plugin) OnDeactivate ¶
Click to show internal directories.
Click to hide internal directories.