internal

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApiURL = "https://api.bitopro.com"

Functions

func GetTimestamp

func GetTimestamp() int64

GetTimestamp func

func NewAuthHeader added in v1.3.1

func NewAuthHeader(identity, apiKey, apiSecret string, method string, body map[string]interface{}) (http.Header, error)

func ReqPublic

func ReqPublic(api, proxy string) (int, string, error)

ReqPublic func

func ReqWithBody

func ReqWithBody(identity, apiKey, apiSecret, endpoint, proxy string, param map[string]interface{}) (int, string, error)

ReqWithBody func

func ReqWithoutBody

func ReqWithoutBody(identity, apiKey, apiSecret, method, endpoint, proxy string) (int, string, error)

ReqWithoutBody func

func SetEndpoint added in v1.2.1

func SetEndpoint(in string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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