client

package
v0.0.0-...-1cc0d81 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2018 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigGlobal = &config{
	LogLevel: "INFO",
}

Functions

This section is empty.

Types

type Client

type Client struct {
}

func NewClient

func NewClient() *Client

func (*Client) Run

func (client *Client) Run()

type Router

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

type WSClient

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

Client is a middleman between the websocket connection and the hub.

type WSHub

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

hub maintains the set of active clients and broadcasts messages to the clients.

Jump to

Keyboard shortcuts

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