brocketchat

package
v0.0.0-...-7b3dfe7 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *bridge.Config) bridge.Bridger

Types

type Brocketchat

type Brocketchat struct {
	*bridge.Config

	sync.RWMutex
	// contains filtered or unexported fields
}

func (*Brocketchat) Command

func (b *Brocketchat) Command(cmd string) string

func (*Brocketchat) Connect

func (b *Brocketchat) Connect() error

func (*Brocketchat) Disconnect

func (b *Brocketchat) Disconnect() error

func (*Brocketchat) JoinChannel

func (b *Brocketchat) JoinChannel(channel config.ChannelInfo) error

func (*Brocketchat) Send

func (b *Brocketchat) Send(msg config.Message) (string, error)

Jump to

Keyboard shortcuts

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