Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionExecutor ¶
type ActionService ¶
func NewActionService ¶
func NewActionService(executor ActionExecutor) ActionService
type InteractionResponder ¶
type InteractionResponder interface {
Execute(ctx context.Context, response SlackInteractionResponse) error
}
type InteractionService ¶
type InteractionService interface { Respond(ctx context.Context, action slack.AttachmentAction, interaction slack.InteractionCallback) error Fail(ctx context.Context, action slack.AttachmentAction, interaction slack.InteractionCallback, body []byte, err error) error }
func NewInteractionService ¶
func NewInteractionService(responder InteractionResponder) InteractionService
type SlackAction ¶
Click to show internal directories.
Click to hide internal directories.