Versions in this module Expand all Collapse all v1 v1.0.0 Nov 7, 2017 Changes in this version + func GetProxyURLs(opt *ProxyOption) ([]string, error) + func PostFile(url, form_name, file_name, path string) (res *http.Response, err error) + type Addr struct + IP string + Port int + func (a *Addr) ToURL(isHttps bool) string + type Client struct + func NewClient() *Client + func NewProxyClient(proxyURL string) (*Client, error) + func (cli *Client) IsExists(Url string) bool + func (cli *Client) PostFile(Url string, formName string, f *os.File) (*http.Response, error) + func (cli *Client) PostJSON(Url string, data interface{}) (*http.Response, error) + type CookieMap map[string]*http.Cookie + func (c CookieMap) GetValue(key string) string + type Jar struct + func (jar *Jar) Cookies(u *url.URL) []*http.Cookie + func (jar *Jar) SetCookies(u *url.URL, cookies []*http.Cookie) + type ProxyOption struct + Area string + Count int + Country string + PoolURL string + Transparent bool + UseHttps bool + func (opt *ProxyOption) String() string