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)
Click to show internal directories.
Click to hide internal directories.