backend

package
v0.24.5 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2017 License: Apache-2.0 Imports: 8 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectToProxy

func ConnectToProxy(proxyURL string, handlers map[string]Handler) error

func SignalHandlerClosed

func SignalHandlerClosed(msgKey string, response chan<- common.Message)

Types

type Handler

type Handler interface {
	Handle(messageKey string, initialMessage string, incomingMessages <-chan string, response chan<- common.Message)
}

Handler is the iterface passed into ConnectToProxy() to have messages routed to and from the handler.

Jump to

Keyboard shortcuts

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