Versions in this module Expand all Collapse all v1 v1.0.0 Oct 29, 2020 Changes in this version + func Bytes(n int) []byte + func GenerateBillNo() string + func GenerateSha256(key, data string) string + func GetCurrTime() int + func HTTPQueryBuild(params map[string]string) string + func Hex(n int) string + func QuerySortByKeyStr(params map[string]string) (str string) + type HTTPClient struct + Client *http.Client + Response *http.Response + func (c *HTTPClient) GetResponseByte() (body []byte, err error) + func (c *HTTPClient) GetResponseJSON(response interface{}) error + func (c *HTTPClient) HTTPGet(url string, params map[string]string) error + func (c *HTTPClient) HTTPPost(url string, params map[string]string) error + func (c *HTTPClient) HTTPPostJSON(url, jsonStr string) error