lib

package
v0.0.0-...-9989f86 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2016 License: GPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HelloHandler

func HelloHandler(w http.ResponseWriter, r *http.Request)

Types

type Dispatcher

type Dispatcher struct {
	// contains filtered or unexported fields
}

func NewDispatcher

func NewDispatcher(ctx context.Context,
	msgChannel chan *message.Message, loader *Loader) *Dispatcher

type Loader

type Loader struct {
	Config   config.Config
	Commands map[string]command.Command
	Gateways map[string]gateway.Gateway
	// contains filtered or unexported fields
}

func NewLoader

func NewLoader(data []byte) (*Loader, error)

func (*Loader) OpenGateways

func (l *Loader) OpenGateways(msgCh chan *message.Message) error

TODO: Is it right place for openning gateway?...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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