events

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IEvent

type IEvent interface {
	Configure(logger logger.ILogger, password string, db *db.PrismaClient) error
	SendMessage(channelID, message, ts string) error
	GetBotName(botID, teamID string) (string, error)
	ProcessEvent(data interface{}) (message string, threadID string, err error)
	PersistEvent(eventID, threadID string) (*db.EventModel, error)
	SendTechnicalErrorMessage(channelID, ts string) error
	SendLookingMessage(channelID, ts string) error
}

func GetClient

func GetClient(provider string) (IEvent, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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