bsteam

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2017 License: Apache-2.0 Imports: 9 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bsteam

type Bsteam struct {
	Config  *config.Protocol
	Remote  chan config.Message
	Account string

	sync.RWMutex
	// contains filtered or unexported fields
}

func New

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

func (*Bsteam) Connect

func (b *Bsteam) Connect() error

func (*Bsteam) Disconnect

func (b *Bsteam) Disconnect() error

func (*Bsteam) JoinChannel

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

func (*Bsteam) Send

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

Jump to

Keyboard shortcuts

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