Versions in this module Expand all Collapse all v1 v1.0.2 May 26, 2020 Changes in this version + var DefaultTransport *http.Transport + func CloneDefaultTransport() *http.Transport + func DefaultHttpClient(proxyURL string) *http.Client + func GetParamHmacSHA256Base64Sign(secret, params string) (string, error) + func GzipCompress(in []byte) ([]byte, error) + func GzipUncompress(in []byte) ([]byte, error) + func HttpGet(client *http.Client, reqUrl string, postData string, headers map[string]string) ([]byte, error) + func HttpPost(client *http.Client, reqUrl string, postData string, headers map[string]string) ([]byte, error) + func NewHttpRequest(client *http.Client, method string, reqUrl string, postData string, ...) ([]byte, error) + func ParseProxy(proxyURL string) (res func(*http.Request) (*url.URL, error), err error) + func SetLevel(level int) + func ValuesToJson(v url.Values) ([]byte, error)