Documentation
¶
Index ¶
- type HelpCommand
- type LookupCommand
- func (c *LookupCommand) GetDefaultMatchers() []string
- func (c *LookupCommand) GetDescription() string
- func (c *LookupCommand) GetHandler() interfaces.Handler
- func (c *LookupCommand) GetIMMatchers() []string
- func (c *LookupCommand) GetMatchers() []string
- func (c *LookupCommand) GetMentionMatchers() []string
- func (c *LookupCommand) GetUsage() string
- type MemeCommand
- type Module
- type ModulesCommand
- func (c *ModulesCommand) GetDescription() string
- func (c *ModulesCommand) GetHandler() interfaces.Handler
- func (c *ModulesCommand) GetIMMatchers() []string
- func (c *ModulesCommand) GetMatchers() []string
- func (c *ModulesCommand) GetMentionMatchers() []string
- func (c *ModulesCommand) GetUsage() string
- type SummonCommand
- type TaskCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelpCommand ¶
type HelpCommand struct{}
HelpCommand allows one to send test messages to the feed channel.
func (*HelpCommand) GetDescription ¶
func (c *HelpCommand) GetDescription() string
GetDescription returns the description of this command.
func (*HelpCommand) GetHandler ¶
func (c *HelpCommand) GetHandler() interfaces.Handler
GetHandler returns the handler for this command.
func (*HelpCommand) GetIMMatchers ¶
func (c *HelpCommand) GetIMMatchers() []string
GetIMMatchers returns IM matchers for this command.
func (*HelpCommand) GetMatchers ¶
func (c *HelpCommand) GetMatchers() []string
GetMatchers returns the matchers for this command.
func (*HelpCommand) GetMentionMatchers ¶
func (c *HelpCommand) GetMentionMatchers() []string
GetMentionMatchers returns the channel mention matchers for this command.
func (*HelpCommand) GetUsage ¶
func (c *HelpCommand) GetUsage() string
GetUsage returns the usage of this command.
type LookupCommand ¶
type LookupCommand struct {
CustomMatchers []string
}
LookupCommand allows users to lookup objects from Phabricator.
func (*LookupCommand) GetDefaultMatchers ¶
func (c *LookupCommand) GetDefaultMatchers() []string
GetDefaultMatchers returns the default matchers of the LookupCommand.
func (*LookupCommand) GetDescription ¶
func (c *LookupCommand) GetDescription() string
GetDescription returns the description of this command.
func (*LookupCommand) GetHandler ¶
func (c *LookupCommand) GetHandler() interfaces.Handler
GetHandler returns the handler for this command.
func (*LookupCommand) GetIMMatchers ¶
func (c *LookupCommand) GetIMMatchers() []string
GetIMMatchers returns IM matchers for this command.
func (*LookupCommand) GetMatchers ¶
func (c *LookupCommand) GetMatchers() []string
GetMatchers returns the matchers for this command.
func (*LookupCommand) GetMentionMatchers ¶
func (c *LookupCommand) GetMentionMatchers() []string
GetMentionMatchers returns the channel mention matchers for this command.
func (*LookupCommand) GetUsage ¶
func (c *LookupCommand) GetUsage() string
GetUsage returns the usage of this command.
type MemeCommand ¶
type MemeCommand struct{}
MemeCommand allows users to create memes.
func (*MemeCommand) GetDescription ¶
func (c *MemeCommand) GetDescription() string
GetDescription returns the description of this command.
func (*MemeCommand) GetHandler ¶
func (c *MemeCommand) GetHandler() interfaces.Handler
GetHandler returns the handler for this command.
func (*MemeCommand) GetIMMatchers ¶
func (c *MemeCommand) GetIMMatchers() []string
GetIMMatchers returns IM matchers for this command.
func (*MemeCommand) GetMatchers ¶
func (c *MemeCommand) GetMatchers() []string
GetMatchers returns the matchers for this command.
func (*MemeCommand) GetMentionMatchers ¶
func (c *MemeCommand) GetMentionMatchers() []string
GetMentionMatchers returns the channel mention matchers for this command.
func (*MemeCommand) GetUsage ¶
func (c *MemeCommand) GetUsage() string
GetUsage returns the usage of this command.
type Module ¶
Module provides development/debugging commands.
func (*Module) GetCommands ¶
func (m *Module) GetCommands() []interfaces.Command
GetCommands returns the commands provided by this module.
type ModulesCommand ¶
type ModulesCommand struct{}
ModulesCommand allows one to send test messages to the feed channel.
func (*ModulesCommand) GetDescription ¶
func (c *ModulesCommand) GetDescription() string
GetDescription returns the description of this command.
func (*ModulesCommand) GetHandler ¶
func (c *ModulesCommand) GetHandler() interfaces.Handler
GetHandler returns the handler for this command.
func (*ModulesCommand) GetIMMatchers ¶
func (c *ModulesCommand) GetIMMatchers() []string
GetIMMatchers returns IM matchers for this command.
func (*ModulesCommand) GetMatchers ¶
func (c *ModulesCommand) GetMatchers() []string
GetMatchers returns the matchers for this command.
func (*ModulesCommand) GetMentionMatchers ¶
func (c *ModulesCommand) GetMentionMatchers() []string
GetMentionMatchers returns the channel mention matchers for this command.
func (*ModulesCommand) GetUsage ¶
func (c *ModulesCommand) GetUsage() string
GetUsage returns the usage of this command.
type SummonCommand ¶
type SummonCommand struct{}
SummonCommand allows users to summon reviewers.
func (*SummonCommand) GetDescription ¶
func (c *SummonCommand) GetDescription() string
GetDescription returns the description of this command.
func (*SummonCommand) GetHandler ¶
func (c *SummonCommand) GetHandler() interfaces.Handler
GetHandler returns the handler for this command.
func (*SummonCommand) GetIMMatchers ¶
func (c *SummonCommand) GetIMMatchers() []string
GetIMMatchers returns IM matchers for this command.
func (*SummonCommand) GetMatchers ¶
func (c *SummonCommand) GetMatchers() []string
GetMatchers returns the matchers for this command.
func (*SummonCommand) GetMentionMatchers ¶
func (c *SummonCommand) GetMentionMatchers() []string
GetMentionMatchers returns the channel mention matchers for this command.
func (*SummonCommand) GetUsage ¶
func (c *SummonCommand) GetUsage() string
GetUsage returns the usage of this command.
type TaskCommand ¶
type TaskCommand struct{}
TaskCommand lists your tasks
func (*TaskCommand) GetHandler ¶
func (c *TaskCommand) GetHandler() interfaces.Handler
GetHandler -- returns a handler that mostly ignores what was matched and just returns the user's list of open tasks.
func (*TaskCommand) GetMentionMatchers ¶
func (c *TaskCommand) GetMentionMatchers() []string
GetMentionMatchers returns the channel mention matchers for this command.