Documentation
¶
Index ¶
Constants ¶
View Source
const ( BitGetAccessKey = "ACCESS-KEY" BitGetAccessSign = "ACCESS-SIGN" BitGetTimeStamp = "ACCESS-TIMESTAMP" BitGetAccessPassphrase = "ACCESS-PASSPHRASE" BitGetLocale = "locale" )
Variables ¶
View Source
var ( ErrParameterOrderID = errors.New("parameter orderid error") ErrParameterClientOrderID = errors.New("parameter clientoid error") )
Functions ¶
This section is empty.
Types ¶
type ISigner ¶
type ResponseError ¶ added in v0.9.8
type ResponseError struct {
Code int64 `json:"code,string"`
Msg string `json:"msg"`
RequestTime int64 `json:"requestTime"`
Data any `json:"data,omitempty"`
}
func (ResponseError) Error ¶ added in v0.9.8
func (e ResponseError) Error() string
func (ResponseError) Unwrap ¶ added in v0.9.8
func (e ResponseError) Unwrap() error
Unwrap allows ErrorResponse to wrap centralized errors
Click to show internal directories.
Click to hide internal directories.