Versions in this module Expand all Collapse all v1 v1.0.1 Feb 1, 2022 v1.0.0 Feb 1, 2022 Changes in this version + const GET + const POST + type Http struct + Client *http.Client + Errs error + Trans *http.Transport + func NewHttp() *Http + func (*Http) GetUrlBody(url string) ([]byte, error) + func (*Http) GetUrlRedirect(url string) (*url.URL, error) + func (obj *Http) DownloadFile(url, savePath string) (string, error) + func (obj *Http) Get(url string, data map[string]interface{}, header map[string]string) ([]byte, error) + func (obj *Http) Post(url string, data map[string]interface{}, header map[string]string) ([]byte, error) + func (obj *Http) Request(method, requestUrl string, data map[string]interface{}, ...) ([]byte, error) + func (obj *Http) SetCookieJar(urlStr string, cookies []*http.Cookie) *Http + func (obj *Http) SetProxyHttp(ip string, port int64) *Http + func (obj *Http) SetProxySocks(ip string, port int64, name, password string) *Http + type Net struct + func NewNet() *Net + func (*Net) LocalIP() (string, error) + func (*Net) LocalMac() (string, error) + func (*Net) TcpGather(ip, port string) bool