slack

package
v0.35.2 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2025 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ID = "slack"

Variables

This section is empty.

Functions

func NewDriver

func NewDriver(_ config.Type, _ store.Adapter) protocol.Driver

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 (*Driver) HttpServer

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

func (*Driver) HttpWebhookClient

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

func (*Driver) Shoutdown added in v0.31.1

func (d *Driver) Shoutdown() error

func (*Driver) WebSocketClient

func (d *Driver) WebSocketClient()

func (*Driver) WebSocketServer

func (d *Driver) WebSocketServer()

Jump to

Keyboard shortcuts

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