Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OnConnected ¶
type OnConnected struct { ClientID string `json:"client_id"` ReceivedAt int64 `json:"received_at"` }
OnConnected structure, when a client just arrived
type OnDisconnected ¶
type OnDisconnected struct { ClientID string `json:"client_id"` ReceivedAt int64 `json:"received_at"` }
OnDisconnected structure, when a client disconnected or connection has been lost to it
Click to show internal directories.
Click to hide internal directories.