Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WSChannel ¶
type WSChannel struct { Sid string // wide session id Conn *websocket.Conn // websocket connection Request *http.Request // HTTP request related Time time.Time // the latest use time }
WSChannel represents a WebSocket channel.
func (*WSChannel) ReadJSON ¶
ReadJSON reads the next JSON-encoded message from the channel and stores it in the value pointed to by v.
Click to show internal directories.
Click to hide internal directories.