Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶ added in v1.1.6
type App struct {
Api *slackpkg.Client
LoadModule func()
*api.App
// contains filtered or unexported fields
}
func NewSlackApp ¶
func NewSlackApp(appToken, botToken string, opts ...AppOptions) (*App, error)
func (*App) AddHandler ¶ added in v1.1.6
func (app *App) AddHandler(socketHandler handler2.SocketHandler)
type AppImplementor ¶
type AppImplementor struct{}
type AppOptions ¶
type AppOptions func(*App)
func WithDebug ¶ added in v1.3.0
func WithDebug(enabled bool) AppOptions
func WithHttp ¶
func WithHttp(port ...int) AppOptions
Click to show internal directories.
Click to hide internal directories.