bridge

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bridge

type Bridge struct {
	Config config.Protocol
	Bridger
	Name        string
	Account     string
	Protocol    string
	ChannelsIn  map[string]config.ChannelOptions
	ChannelsOut map[string]config.ChannelOptions
}

func New added in v0.7.0

func New(cfg *config.Config, bridge *config.Bridge, c chan config.Message) *Bridge

func (*Bridge) JoinChannels added in v0.9.3

func (b *Bridge) JoinChannels() error

type Bridger added in v0.6.1

type Bridger interface {
	Send(msg config.Message) error
	Connect() error
	JoinChannel(channel string) error
	Disconnect() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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