backend

package
v0.0.0-...-e46eeea Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeploymentHandler

func DeploymentHandler(namespace string) func(w http.ResponseWriter, r *http.Request)

DeploymentHandler ...

func Initialize

func Initialize(
	path string,
	handler func(namespace string) func(w http.ResponseWriter, r *http.Request),
	addr string,
	namespace string)

Initialize ...

func NewSocket

func NewSocket(w http.ResponseWriter, r *http.Request) infra.Socket

NewSocket ...

func NodeHandler

func NodeHandler(namespace string) func(w http.ResponseWriter, r *http.Request)

NodeHandler ...

func ServiceHandler

func ServiceHandler(namespace string) func(w http.ResponseWriter, r *http.Request)

ServiceHandler ...

Types

type WebSocket

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

WebSocket ...

func (WebSocket) Write

func (socket WebSocket) Write(msg interface{})

Jump to

Keyboard shortcuts

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