Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIErrorResponse ¶
type APIErrorResponse struct {
Code int `json:"code"` // error code
Message string `json:"msg"` // error msg
}
APIErrorResponse API and SAPI error response
type WebsocketCommon ¶
type WebsocketCommon struct {
Method string `json:"method"` // Method method
Params interface{} `json:"params,omitempty"` // Params params
ID uint `json:"id"` // ID id
}
WebsocketCommon websocket common (property subscribe property etc.)
type WebsocketCommonResponse ¶
type WebsocketCommonResponse struct {
Result interface{} `json:"result"` // Result result
ID uint `json:"id"` // ID id
}
WebsocketCommonResponse websocket common (subscribe unsubscribe property etc.)
type WebsocketErrorResponse ¶
type WebsocketErrorResponse struct {
Code int `json:"code"` // Code error code
Message string `json:"msg"` // Message error message
}
WebsocketErrorResponse websocket error message
Click to show internal directories.
Click to hide internal directories.