brocketchat

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2017 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 Brocketchat

type Brocketchat struct {
	MMhook
	Config *config.Protocol
	Remote chan config.Message

	Account string
	// contains filtered or unexported fields
}

func New

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

func (*Brocketchat) Command

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

func (*Brocketchat) Connect

func (b *Brocketchat) Connect() error

func (*Brocketchat) Disconnect added in v0.9.3

func (b *Brocketchat) Disconnect() error

func (*Brocketchat) JoinChannel

func (b *Brocketchat) JoinChannel(channel string) error

func (*Brocketchat) Send

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

type MMhook

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

Jump to

Keyboard shortcuts

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