common

package
v0.0.0-...-d9ce968 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Socket holds the global websocket struct
	Socket *websocket.Hub

	// Router holds the global router struct
	Router *mux.Router
)

Commander holds the global commander struct

Functions

func OpenCommander

func OpenCommander() *commander.Commander

OpenCommander opens a new commander interface

func OpenWebHub

func OpenWebHub() (*mux.Router, *websocket.Hub)

OpenWebHub opens a new socket and router interface

Types

This section is empty.

Jump to

Keyboard shortcuts

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