clients

package
v0.0.0-...-2b46a3a Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2016 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 Console

type Console struct {
	Hub *channel.Hub
	// contains filtered or unexported fields
}

Console represents the client that sends output to the console

func (*Console) Start

func (cc *Console) Start()

Start begins listening for new messages on the Hub

func (*Console) Stop

func (cc *Console) Stop()

Stop ends listening for new messages on the Hub

type WebSocketHost

type WebSocketHost struct {
	Addr string
	Hub  *channel.Hub
	// contains filtered or unexported fields
}

WebSocketHost is a wrapper http server to host the websocket client UI

func (*WebSocketHost) Start

func (wh *WebSocketHost) Start()

Start the WebSocketHost listening for incoming requests

func (*WebSocketHost) Stop

func (wh *WebSocketHost) Stop()

Stop the WebSocketHost from taking new requests

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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