ws

package
v0.0.0-...-4d778f5 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebSocket

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

WebSocket serves data to the ui.

func New

func New(
	log *logger.Logger,
	instance *instance.Instance,
) *WebSocket

New is returns new websocket handler.

func (*WebSocket) ServeHTTP

func (ws *WebSocket) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP implements http.Server.

Jump to

Keyboard shortcuts

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