glimesh

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventMessageCreate = "Commander.Glimesh.Message:Create"
)

Variables

This section is empty.

Functions

func New

func New() criuscommander.Platform

Types

type Glimesh

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

func (*Glimesh) Close

func (g *Glimesh) Close() error

func (*Glimesh) GenHelp

func (g *Glimesh) GenHelp(_ interface{}, m *criuscommander.MessageContext) error

func (*Glimesh) GetClient

func (g *Glimesh) GetClient() interface{}

func (*Glimesh) GetPlatformType

func (g *Glimesh) GetPlatformType() criuscommander.PlatformType

func (*Glimesh) JoinChannel

func (g *Glimesh) JoinChannel(channel interface{}) error

func (*Glimesh) LeaveChannel

func (g *Glimesh) LeaveChannel(_ interface{}) error

isn't implemented in Glimesh's API currently

func (*Glimesh) Open

func (g *Glimesh) Open(ctx context.Context) error

func (*Glimesh) RegisterEvents

func (g *Glimesh) RegisterEvents(publisher EventBus.BusPublisher) error

func (*Glimesh) RegisterMessageHandler

func (g *Glimesh) RegisterMessageHandler(f func(string, *criuscommander.MessageContext)) error

func (*Glimesh) Setup

func (g *Glimesh) Setup(token string) error

Jump to

Keyboard shortcuts

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