Documentation ¶
Index ¶
Constants ¶
View Source
const PrivateWebSocketURL = "wss://ws.bitget.com/spot/v1/stream"
View Source
const PublicWebSocketURL = "wss://ws.bitget.com/spot/v1/stream"
View Source
const RestBaseURL = "https://api.bitget.com"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIResponse ¶
type APIResponse struct { Code string `json:"code"` Message string `json:"msg"` Data json.RawMessage `json:"data"` }
func (APIResponse) Error ¶ added in v1.54.0
func (a APIResponse) Error() error
func (APIResponse) Validate ¶ added in v1.54.0
func (a APIResponse) Validate() error
type RestClient ¶
type RestClient struct { requestgen.BaseAPIClient // contains filtered or unexported fields }
func NewClient ¶
func NewClient() *RestClient
func (*RestClient) Auth ¶
func (c *RestClient) Auth(key, secret, passphrase string)
Click to show internal directories.
Click to hide internal directories.