Versions in this module Expand all Collapse all v1 v1.0.0 Aug 12, 2020 Changes in this version + func Bytes(n int) []byte + func GetCurrTime() int + func GetMD5String(strings string) string + func HTTPQueryBuild(params map[string]string) string + func Hex(n int) string + func Md5ByByte(bytes []byte) string + type HTTPClient struct + Client *http.Client + Response *http.Response + func (c *HTTPClient) GetResponseByte() (body []byte, err error) + func (c *HTTPClient) GetResponseJSON(response interface{}, errorResponse interface{}) error + func (c *HTTPClient) HTTPGet(url string, params map[string]string) (err error) + func (c *HTTPClient) HTTPPost(url string, params map[string]string) error + func (c *HTTPClient) HTTPPostJSON(url, jsonStr string) error