Documentation ¶
Index ¶
- Variables
- func GetTimestamp() int64
- func NewAuthHeader(identity, apiKey, apiSecret string, method string, body map[string]interface{}) (http.Header, error)
- func ReqPublic(api, proxy string) (int, string, error)
- func ReqWithBody(identity, apiKey, apiSecret, endpoint, proxy string, ...) (int, string, error)
- func ReqWithoutBody(identity, apiKey, apiSecret, method, endpoint, proxy string) (int, string, error)
- func SetEndpoint(in string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ApiURL = "https://api.bitopro.com"
Functions ¶
func NewAuthHeader ¶ added in v1.3.1
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.
Click to show internal directories.
Click to hide internal directories.