diff --git a/bybit_api_client.go b/bybit_api_client.go index 20f8a4a..76581b3 100644 --- a/bybit_api_client.go +++ b/bybit_api_client.go @@ -56,6 +56,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)