qbtrade/pkg/exchange/binance/binanceapi/page.go

16 lines
397 B
Go
Raw Normal View History

2024-06-27 14:42:38 +00:00
package binanceapi
import "encoding/json"
type PagedDataResponse struct {
Status string `json:"status"`
Type string `json:"type"`
Code string `json:"code"`
Data struct {
Page int `json:"page"`
TotalRecords int `json:"totalRecords"`
TotalPageNum int `json:"totalPageNum"`
Data json.RawMessage `json:"data"`
} `json:"data"`
}