wsconnection

package
v0.0.0-...-6c42077 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WSConnection

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

TODO: redesign buffer

func New

func New() *WSConnection

func (*WSConnection) Connect

func (w *WSConnection) Connect(ep string)

func (*WSConnection) ReadLoop

func (w *WSConnection) ReadLoop()

func (*WSConnection) Refresh

func (w *WSConnection) Refresh()

TODO: check prompt

func (*WSConnection) Send

func (w *WSConnection) Send(router string, data interface{})

func (*WSConnection) SentinelLoop

func (w *WSConnection) SentinelLoop()

func (*WSConnection) WriteLoop

func (w *WSConnection) WriteLoop()

Jump to

Keyboard shortcuts

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