slack

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: CC0-1.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTemplate added in v1.0.1

func GetTemplate(embedFS embed.FS, file string, args, destStruct interface{}) error

func NewSlack

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

func NewSlackApp

func NewSlackApp(appToken, botToken string, opts ...AppOptions) (*app, error)

Types

type AppImplementor

type AppImplementor struct{}

type AppOptions

type AppOptions func(*app)

func WithHttp

func WithHttp(port ...int) AppOptions

type Apps

type Apps interface {
	LoadModules()
}

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