Versions in this module Expand all Collapse all v1 v1.0.13 Nov 14, 2023 Changes in this version + type BaseResponse struct + RequestID string + type CommonRequest struct + AccessToken string + ClientID string + DataType RequestDataType + Sign string + Timestamp int64 + Type string + Version string + func (r CommonRequest) GetType() string + type CommonResponse struct + ErrorResponse *ErrorResponse + func (r CommonResponse) Error() error + func (r CommonResponse) IsError() bool + type ErrorResponse struct + ErrorCode int + ErrorMsg string + SubCode string + SubMsg string + func (e ErrorResponse) Error() string + type Int int + func (i32 *Int) UnmarshalJSON(b []byte) (err error) + func (i32 Int) Value() int + type Request interface + GetType func() string + type RequestDataType string + const RequestDataType_JSON + const RequestDataType_XML + type Response interface + Error func() error + IsError func() bool + type Uint64 uint64 + func (u64 *Uint64) UnmarshalJSON(b []byte) (err error) + func (u64 Uint64) Value() uint64 + type UploadField struct + Key string + Reader io.Reader + Value string + type UploadRequest interface + Encode func() []UploadField + GetType func() string v1.0.12-relses Nov 14, 2023