commands

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SlashCommandController

type SlashCommandController struct {
	EventHandler *socketmode.SocketmodeHandler
	Service      internal.Service
	Settings     settings.Settings
}

SlashCommandController We create a structure to let us use dependency injection

func NewRequestCommandHandler

func NewRequestCommandHandler(cfg settings.Settings, service *internal.Service, eventhandler *socketmode.SocketmodeHandler) SlashCommandController

func (*SlashCommandController) SuggestServices

func (c *SlashCommandController) SuggestServices(evt *socketmode.Event, clt *socketmode.Client)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL