gateway

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2016 License: Apache-2.0 Imports: 6 Imported by: 7

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

	Name    string
	Message chan config.Message
	// contains filtered or unexported fields
}

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