Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiRequestModel ¶
type ApiRequestModel struct {
Param interface{} `json:"param"`
}
type ApiResponseModel ¶
type ApiResponseModel struct { Ret int `json:"ret"` //success:0, fail:not 0 ErrCode string `json:"errCode"` //err code ErrStr string `json:"errStr"` //err msg Message string `json:"message"` //error message ("API rate limit exceeded || Hmac signature no match") }
func (*ApiResponseModel) CheckRet ¶
func (response *ApiResponseModel) CheckRet() error
type BoolResponse ¶
type BoolResponse struct { *ApiResponseModel Data bool `json:"data"` }
func NewBoolResponse ¶
func NewBoolResponse() *BoolResponse
type DecimalResponse ¶
type DecimalResponse struct { *ApiResponseModel Data decimal.Decimal `json:"data"` }
func NewDecimalResponse ¶
func NewDecimalResponse() *DecimalResponse
type Int64Response ¶
type Int64Response struct { *ApiResponseModel Data int64 `json:"data"` }
func NewInt64Response ¶
func NewInt64Response() *Int64Response
type ListResultModel ¶
Click to show internal directories.
Click to hide internal directories.