Documentation ¶
Index ¶
- Variables
- type Option
- type ResponseWithProxy
- func Get(ctx context.Context, url string, params requests.Params, maxRetry int, ...) (*ResponseWithProxy, error)
- func Post(ctx context.Context, url string, form requests.Datas, maxRetry int, ...) (*ResponseWithProxy, error)
- func PostJson(ctx context.Context, url string, params interface{}, maxRetry int, ...) (*ResponseWithProxy, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTimeoutOption = TimeoutOption(time.Second * 5)
Functions ¶
This section is empty.
Types ¶
type Option ¶
func CookieOption ¶
func DebugOption ¶
func DebugOption() Option
func DisableTlsOption ¶
func DisableTlsOption() Option
func HeaderOption ¶
func HttpCookieOption ¶
func ProxyOption ¶
func ProxyOption(prefer proxy_pool.Prefer) Option
func TimeoutOption ¶
Click to show internal directories.
Click to hide internal directories.