bmatrix

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bmatrix

type Bmatrix struct {
	Config  *config.Protocol
	Remote  chan config.Message
	Account string
	UserID  string
	RoomMap map[string]string
	sync.RWMutex
	// contains filtered or unexported fields
}

func New

func New(cfg config.Protocol, account string, c chan config.Message) *Bmatrix

func (*Bmatrix) Connect

func (b *Bmatrix) Connect() error

func (*Bmatrix) Disconnect

func (b *Bmatrix) Disconnect() error

func (*Bmatrix) JoinChannel

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

func (*Bmatrix) Send

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

Jump to

Keyboard shortcuts

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