slack

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 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 {
	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)

func (*App) Start added in v1.1.6

func (app *App) Start()

type AppImplementor

type AppImplementor struct{}

type AppOptions

type AppOptions func(*App)

func WithHttp

func WithHttp(port ...int) 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