Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GetRestReq ¶ added in v0.5.4
type ListenKeyClient ¶ added in v0.5.4
type RestClient ¶
type RestClient struct {
// contains filtered or unexported fields
}
Binance Rest client instance
func NewRestClient ¶
func NewRestClient(key, secret, host string) *RestClient
func (*RestClient) GetRequest ¶ added in v0.5.4
func (rc *RestClient) GetRequest(ctx context.Context, endPoint string, req GetRestReq, sign bool, dst interface{}) error
GetRequest helper method to send http GET request
type RestReq ¶ added in v0.5.4
RestReq basic binance rest request instance add recvWindow param support
func NewRestReq ¶ added in v0.5.4
func NewRestReq() *RestReq
func (*RestReq) RecvWindow ¶ added in v0.5.4
type WSClient ¶ added in v0.5.4
func NewWSClient ¶ added in v0.5.4
Click to show internal directories.
Click to hide internal directories.