client

package
v0.0.0-...-89a7c0f Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2015 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WSUpgrader = &websocket.Upgrader{ReadBufferSize: 256, WriteBufferSize: 256}

Public package variable to contol Websocket buffers

Functions

This section is empty.

Types

type Client

type Client interface {
	ServeHTTP(http.ResponseWriter, *http.Request)
}

type WSClient

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

func NewWSClient

func NewWSClient(srv service.Service) *WSClient

func (*WSClient) ServeHTTP

func (cl *WSClient) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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