Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCommandHandlers ¶
GetCommandHandlers returns all command handlers provided by controller.
Types ¶
type Opt ¶
type Opt func(opts *allOpts)
Opt represents a controller option.
func WithAutoAccept ¶
WithAutoAccept is an option allowing for the auto accept to be set.
func WithDefaultLabel ¶
WithDefaultLabel is an option allowing for the defaultLabel to be set.
func WithMessageHandler ¶
func WithMessageHandler(handler command.MessageHandler) Opt
WithMessageHandler is an option allowing for the message handler to be set.
func WithNotifier ¶
WithNotifier is an option for setting up a notifier which will notify clients of events.
func WithWebhookURLs ¶
WithWebhookURLs is an option for setting up a webhook dispatcher which will notify clients of events.
Click to show internal directories.
Click to hide internal directories.