shared

package
v0.0.0-...-1c5ad5c Latest Latest
Warning

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

Go to latest
Published: Apr 9, 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 WebsocketConnection

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

func Open

func Open(url string) (*WebsocketConnection, error)

func (*WebsocketConnection) Close

func (ep *WebsocketConnection) Close(reason string) error

Who the hell do we call close first on? App or connection? Either way one or the other may have to check on the other, which is no good

func (*WebsocketConnection) Reconnect

func (ep *WebsocketConnection) Reconnect() error

func (*WebsocketConnection) Send

func (ep *WebsocketConnection) Send(data []byte) error

func (*WebsocketConnection) SetApp

func (ep *WebsocketConnection) SetApp(app core.App)

Jump to

Keyboard shortcuts

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