Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Rest *rest.ClientRest
Ws *ws.ClientWs
// contains filtered or unexported fields
}
Client is the main api wrapper of okex
func NewClient ¶
func NewClient(ctx context.Context, apiKey, secretKey, passphrase string, destination okex.Destination, restOpts []rest.ClientOption, wsOpts []ws.ClientOption) (*Client, error)
NewClient returns a pointer to a fresh Client
Click to show internal directories.
Click to hide internal directories.