Versions in this module Expand all Collapse all v1 v1.0.1 Apr 21, 2020 v1.0.0 Apr 22, 2020 Changes in this version + var UserAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1541.0 Safari/537.36" + func HttpGet(client *http.Client, url string, header http.Header) (io.ReadCloser, error) + func HttpGetBytes(client *http.Client, url string, header http.Header) ([]byte, error) + func HttpGetJSON(client *http.Client, url string, header http.Header, v interface{}) error + func HttpGetToFile(client *http.Client, url string, header http.Header, fileName string) error + func HttpPost(client *http.Client, url string, header http.Header, body []byte) (io.ReadCloser, error)