Documentation ¶ Index ¶ func DetermineEncoding(r *bufio.Reader) encoding.Encoding type BaseFetch func (b *BaseFetch) Get(url string) ([]byte, error) type BrowserFetch func (b *BrowserFetch) Get(url string) ([]byte, error) type Fetcher Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DetermineEncoding ¶ func DetermineEncoding(r *bufio.Reader) encoding.Encoding Types ¶ type BaseFetch ¶ type BaseFetch struct{} func (*BaseFetch) Get ¶ func (b *BaseFetch) Get(url string) ([]byte, error) type BrowserFetch ¶ type BrowserFetch struct{} func (*BrowserFetch) Get ¶ func (b *BrowserFetch) Get(url string) ([]byte, error) 模拟浏览器访问 type Fetcher ¶ type Fetcher interface { Get(url string) ([]byte, error) } Source Files ¶ View all Source files collect.go Click to show internal directories. Click to hide internal directories.