diff --git a/bybit_api_client.go b/bybit_api_client.go index 8d8b475..b672b51 100644 --- a/bybit_api_client.go +++ b/bybit_api_client.go @@ -53,6 +53,14 @@ func WithBaseURL(baseURL string) ClientOption { } } +type ServerResponse struct { + RetCode int `json:"retCode"` + RetMsg string `json:"retMsg"` + Result interface{} `json:"result"` + RetExtInfo struct{} `json:"retExtInfo"` + Time int64 `json:"time"` +} + func PrettyPrint(i interface{}) string { s, _ := json.MarshalIndent(i, "", "\t") return string(s)