Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Connection Connection WebSockets bool Address string ReadBufSize int WriteBufSize int Reconnected chan struct{} }
func (*Client) ReadMessage ¶
func (*Client) WriteMessage ¶
type Connection ¶
type WebSocket ¶
type WebSocket struct { sync.Mutex Address string TransportAddress string ServerID string SessionID string Connection *websocket.Conn Inbound chan []byte Reconnected chan struct{} }
func NewWebSocket ¶
type XHR ¶
type XHR struct { Address string TransportAddress string ServerID string SessionID string Inbound chan []byte Done chan bool // contains filtered or unexported fields }
func (*XHR) GetSessionState ¶
func (x *XHR) GetSessionState() sockjs.SessionState
func (*XHR) StartReading ¶
func (x *XHR) StartReading()
Click to show internal directories.
Click to hide internal directories.