internal

package
v0.3.14 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sign

func Sign(secret, method, path, timestamp, payload string) string

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(endpoint, apiKey, secretKey, password string) *Client

func (Client) RequestMap

func (c Client) RequestMap(method, path string, params map[string]interface{}, resp interface{}, needSign bool) (err error)

func (Client) RequestStruct

func (c Client) RequestStruct(method, path string, param, resp interface{}, needSign bool) (err error)

Jump to

Keyboard shortcuts

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