agent

package
v0.0.0-...-b4b8f64 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2017 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleWebSocket

func HandleWebSocket(w http.ResponseWriter, r *http.Request, p httprouter.Params)

Types

type Agent

type Agent interface {
	Start(c *websocket.Conn) (chan struct{}, error)
	Stop()
}

func NewAgent

func NewAgent() Agent

Jump to

Keyboard shortcuts

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