slack

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: CC0-1.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSlack

func NewSlack(botToken, clientId, clientSecret string) *slack

Types

type App added in v1.1.6

type App struct {
	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)

func (*App) GetAPI added in v1.7.0

func (app *App) GetAPI() *slackpkg.Client

func (*App) Start added in v1.1.6

func (app *App) Start()

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

func WithSocketMode added in v1.7.0

func WithSocketMode() AppOptions

type Slacks

type Slacks interface {
	// contains filtered or unexported methods
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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