birc

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsMarkup

func IsMarkup(message string) bool

Types

type Birc

type Birc struct {
	Nick string

	Config *config.Protocol

	Remote chan config.Message

	Local chan config.Message // local queue for flood control
	// contains filtered or unexported fields
}

func New

func New(cfg config.Protocol, origin string, c chan config.Message) *Birc

func (*Birc) Command

func (b *Birc) Command(msg *config.Message) string

func (*Birc) Connect

func (b *Birc) Connect() error

func (*Birc) FullOrigin added in v0.7.0

func (b *Birc) FullOrigin() string

func (*Birc) JoinChannel added in v0.7.0

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

func (*Birc) Name

func (b *Birc) Name() string

func (*Birc) Origin added in v0.7.0

func (b *Birc) Origin() string

func (*Birc) Protocol added in v0.7.0

func (b *Birc) Protocol() string

func (*Birc) Send

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

Jump to

Keyboard shortcuts

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