websocket

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebSocket

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

WebSocket wraps the implementation socket and provides external functions

func (*WebSocket) HandleSocket

func (s *WebSocket) HandleSocket(w http.ResponseWriter, r *http.Request)

HandleSocket handles new incoming http requests to the socket

func (WebSocket) Write

func (s WebSocket) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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