gateway

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gateway

type Gateway struct {
	*config.Config
	MyConfig *config.Gateway
	//Bridges     []*bridge.Bridge
	Bridges        map[string]*bridge.Bridge
	ChannelsOut    map[string][]string
	ChannelsIn     map[string][]string
	ChannelOptions map[string]config.ChannelOptions
	Name           string
	Message        chan config.Message
}

func New

func New(cfg *config.Config, gateway *config.Gateway) *Gateway

func (*Gateway) AddBridge added in v0.9.0

func (gw *Gateway) AddBridge(cfg *config.Bridge) error

func (*Gateway) Start added in v0.9.0

func (gw *Gateway) Start() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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