Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
func NewSlackApp ¶
func NewSlackApp(appToken, botToken string, opts ...AppOptions) (*App, error)
func (*App) AddHandler ¶
func (app *App) AddHandler(socketHandler handler2.SocketHandler)
type AppImplementor ¶
type AppImplementor struct{}
type AppOptions ¶
type AppOptions func(*App)
func WithDebug ¶
func WithDebug(enabled bool) AppOptions
func WithHttp ¶
func WithHttp(port ...int) AppOptions
func WithSocketMode ¶
func WithSocketMode() AppOptions
Click to show internal directories.
Click to hide internal directories.