Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct { Request uint16 `json:"req,omitempty"` // The corresponding request ID. ID string `json:"id"` // The private ID of the connection. Links map[string]string `json:"links,omitempty"` // The set of pre-defined channels. }
Response represents a response for the 'me' request.
func (*Response) ForRequest ¶
ForRequest sets the request ID in the response for matching
Click to show internal directories.
Click to hide internal directories.