birc

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

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 25 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 Birc

type Birc struct {
	Nick string

	Local                                     chan config.Message // local queue for flood control
	FirstConnection                           bool
	MessageDelay, MessageQueue, MessageLength int

	*bridge.Config
	// contains filtered or unexported fields
}

func (*Birc) Command

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

func (*Birc) Connect

func (b *Birc) Connect() error

func (*Birc) Disconnect

func (b *Birc) Disconnect() error

func (*Birc) JoinChannel

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

func (*Birc) Send

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

Jump to

Keyboard shortcuts

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