jsonws

package
v0.0.0-...-c622919 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2013 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonWebsocket

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

func New

func New(cfg *websocket.Config) (*JsonWebsocket, error)

func (*JsonWebsocket) Close

func (jws *JsonWebsocket) Close() error

func (*JsonWebsocket) Recv

func (jws *JsonWebsocket) Recv() (map[string]interface{}, error)

func (*JsonWebsocket) RecvForever

func (ws *JsonWebsocket) RecvForever() chan map[string]interface{}

func (*JsonWebsocket) Send

func (jws *JsonWebsocket) Send(obj map[string]interface{}) error

Jump to

Keyboard shortcuts

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