wsreader

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 WSReader

type WSReader struct {
	Interrupt chan bool
	Exit      chan bool
	C         chan []byte
	// contains filtered or unexported fields
}

WSReader holds info about the WebSocker Reader

func GetWSReader

func GetWSReader(url *string) (*WSReader, error)

GetWSReader returns a new WSReader

func (*WSReader) Run

func (r *WSReader) Run()

Run starts a go routine to constantly read messages

Jump to

Keyboard shortcuts

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