Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCommandMapper ¶
func BuildCommandMapper() domain.LineCommandMapper
BuildCommandMapper returns new instance of LineCommandMapper implementation
Types ¶
type BaseCommand ¶
type BaseCommand struct {
Parameter []string
}
BaseCommand will be embedded by all children command
type CommandMapper ¶
type CommandMapper struct{}
CommandMapper is implementation of domain.LineCommandMapper
func (*CommandMapper) GetCommandBuilder ¶
func (m *CommandMapper) GetCommandBuilder(command string) domain.LineCommandBuilder
GetCommandBuilder returns command builder from command name
type CurrentEventsCommand ¶
type CurrentEventsCommand struct { BaseCommand // contains filtered or unexported fields }
CurrentEventsCommand processes command for current event
func (*CurrentEventsCommand) Process ¶
func (c *CurrentEventsCommand) Process() ([]linebot.SendingMessage, error)
Process ...
type HelpCommand ¶
type HelpCommand struct {
BaseCommand
}
HelpCommand returns commands information
func (*HelpCommand) Process ¶
func (c *HelpCommand) Process() ([]linebot.SendingMessage, error)
Process ...
type TopTeamsCommand ¶
type TopTeamsCommand struct { BaseCommand // contains filtered or unexported fields }
TopTeamsCommand processes command to get top teams information
func (*TopTeamsCommand) Process ¶
func (c *TopTeamsCommand) Process() ([]linebot.SendingMessage, error)
Process ...
type UpcomingEventsCommand ¶
type UpcomingEventsCommand struct { BaseCommand // contains filtered or unexported fields }
UpcomingEventsCommand processes command for current event
func (*UpcomingEventsCommand) Process ¶
func (c *UpcomingEventsCommand) Process() ([]linebot.SendingMessage, error)
Process ...
Click to show internal directories.
Click to hide internal directories.