Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeRequestContent ¶
NormalizeRequestContent sign endpoint security doc: https://binance-docs.github.io/apidocs/spot/en/#signed-trade-user_data-and-margin-endpoint-security
Types ¶
type AnyMessage ¶
type AnyMessage struct { Response *Response SubscribedMessage *SubscribedMessage }
AnyMessage represents either a JSON Response or SubscribedMessage.
func (AnyMessage) MarshalJSON ¶
func (m AnyMessage) MarshalJSON() ([]byte, error)
func (*AnyMessage) UnmarshalJSON ¶
func (m *AnyMessage) UnmarshalJSON(data []byte) error
type DefaultParam ¶
type SubscribedMessage ¶
type SubscribedMessage struct { Stream string `json:"stream"` Data json.RawMessage `json:"data"` }
Click to show internal directories.
Click to hide internal directories.