Documentation
¶
Index ¶
- func AUserAgents(isPc bool) (agent string)
- func GetHeader(uri string) http.Header
- func GetHost(s string) string
- func GetReferer(uri string) (string, error)
- func GetReq() *req.Req
- func HttpAuthGET(account, password, uri string) (content string, err error)
- func HttpAuthPost(account, password, uri string, v url.Values) (content string, err error)
- func HttpGets(urls []string) (resp []html)
- func HttpPost(uri string, params url.Values) (content string, err error)
- func HttpReq(method, account, password, uri string, body io.Reader) (content string, err error)
- func IsUrlNeedReferer(uri string) bool
- func MobileUserAgents() []string
- func PCUserAgents() []string
- func UrlRemoveHost(url string) string
- type Response
- type Responses
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AUserAgents ¶
func GetReferer ¶
func HttpAuthGET ¶
func HttpAuthPost ¶
func IsUrlNeedReferer ¶
func MobileUserAgents ¶
func MobileUserAgents() []string
func PCUserAgents ¶
func PCUserAgents() []string
func UrlRemoveHost ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.