slack

package
v0.18.3 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const ID = "slack"

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	// contains filtered or unexported fields
}

func (*Action) CreateChannel

func (a *Action) CreateChannel(_ protocol.Request) protocol.Response

func (*Action) GetChannelInfo

func (a *Action) GetChannelInfo(_ protocol.Request) protocol.Response

func (*Action) GetChannelList

func (a *Action) GetChannelList(_ protocol.Request) protocol.Response

func (*Action) GetLatestEvents

func (a *Action) GetLatestEvents(_ protocol.Request) protocol.Response

func (*Action) GetStatus

func (a *Action) GetStatus(_ protocol.Request) protocol.Response

func (*Action) GetSupportedActions

func (a *Action) GetSupportedActions(_ protocol.Request) protocol.Response

func (*Action) GetUserInfo

func (a *Action) GetUserInfo(_ protocol.Request) protocol.Response

func (*Action) GetVersion

func (a *Action) GetVersion(_ protocol.Request) protocol.Response

func (*Action) RegisterChannels

func (a *Action) RegisterChannels(_ protocol.Request) protocol.Response

func (*Action) RegisterSlashCommands

func (a *Action) RegisterSlashCommands(_ protocol.Request) protocol.Response

func (*Action) SendMessage

func (a *Action) SendMessage(req protocol.Request) protocol.Response

type Adapter

type Adapter struct{}

func (*Adapter) EventConvert

func (a *Adapter) EventConvert(data any) protocol.Event

func (*Adapter) MessageConvert

func (a *Adapter) MessageConvert(data any) protocol.Message

type Driver

type Driver struct {
	// contains filtered or unexported fields
}

func NewDriver

func NewDriver() *Driver

func (*Driver) HttpServer

func (d *Driver) HttpServer(_ *fiber.Ctx) error

func (*Driver) HttpWebhookClient

func (d *Driver) HttpWebhookClient(_ protocol.Message) error

func (*Driver) WebSocketClient

func (d *Driver) WebSocketClient(stop <-chan bool)

func (*Driver) WebSocketServer

func (d *Driver) WebSocketServer(_ <-chan bool)

Jump to

Keyboard shortcuts

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