httpfetcher

package
v0.0.0-...-e6af7e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2016 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_CONNECTION_TIMEOUT = 1000
	DEFAULT_RW_TIMEOUT         = 3000
)

Variables

Functions

func NewHttpFetcher

func NewHttpFetcher(cfg map[string]interface{}) (t parsing.Fetcher, err error)

Types

type HttpFetcher

type HttpFetcher struct {
	// contains filtered or unexported fields
}

func (*HttpFetcher) Fetch

func (t *HttpFetcher) Fetch(task *tasks.FetcherTask) ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址