Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
先看一下Buffer的定义,有帮助下面理解
type CookieCallBack ¶ added in v0.3.3
type DhtmlSpider ¶
type DhtmlSpider struct {
// contains filtered or unexported fields
}
func NewDhtmlSpider ¶
func NewDhtmlSpider() *DhtmlSpider
type FileSpider ¶
type ProxyCallBack ¶
type ProxyCallBack func() string
type Request ¶
type Request struct { Url string Method string Param string Headers map[string]string Timeout time.Duration Retry int ProxyCallBack ProxyCallBack SocketProxyCallBack SocketProxyCallBack CookieCallBack CookieCallBack }
type Response ¶
type Response struct { RedirectUrl string SpiderType SpiderType // contains filtered or unexported fields }
func (*Response) GetCharset ¶
func (*Response) GetContent ¶
type ShtmlSpider ¶
type SocketProxyCallBack ¶ added in v0.2.4
Click to show internal directories.
Click to hide internal directories.