api

package
v0.0.0-...-7f56f77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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

	ApiKey     string
	SecretKey  string
	PassPhrase string
	// 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) (*Client, error)

NewClient returns a pointer to a fresh Client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL