wswriter

package
v0.0.0-...-de3c1b4 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WSWriter

type WSWriter struct {
	Exit chan bool
	// contains filtered or unexported fields
}

WSWriter holds info about the WebSocket writer

func GetWSWriter

func GetWSWriter(u *url.URL) (*WSWriter, error)

GetWSWriter returns a new WSWriter

func (*WSWriter) Write

func (w *WSWriter) Write(m []byte) error

Write writes the message to the websocket

Jump to

Keyboard shortcuts

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