Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // OnOpen is called whenever a new client is connected OnOpen func(clientID string) // OnClose is called whenever a client disconnects for any reason OnClose func(clientID string) // OnError is called whenever an error occurs OnError func(clientID string, err error) // CheckOrigin is used by Socket when upgrading a WebSocket connection CheckOrigin func(r *http.Request) bool )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.