Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandExecutor ¶
type CommandExecutor interface {
Execute(ctx context.Context, api *slack.Client, command *slack.SlashCommand, w http.ResponseWriter) error
}
func NewCommandExecutor ¶
func NewCommandExecutor(s slack.SlashCommand) (CommandExecutor, error)
type EchoCommand ¶
type EchoCommand struct { }
func (*EchoCommand) Execute ¶
func (e *EchoCommand) Execute(ctx context.Context, api *slack.Client, command *slack.SlashCommand, w http.ResponseWriter) error
type StSettings ¶
type StSettings struct { }
func (*StSettings) Execute ¶
func (t *StSettings) Execute(ctx context.Context, api *slack.Client, command *slack.SlashCommand, w http.ResponseWriter) error
type TrackCommand ¶
func (*TrackCommand) Execute ¶
func (t *TrackCommand) Execute(ctx context.Context, api *slack.Client, command *slack.SlashCommand, w http.ResponseWriter) error
Click to show internal directories.
Click to hide internal directories.