Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Crawler ¶
type Crawler interface { Name() string SleepDuration() time.Duration CrawlAll(ch chan *Result) CrawlOne(*url.URL) (repository.Repository, error) }
type Result ¶
type Result struct { Crawler Crawler Repository repository.Repository Exhausted bool Error error }
Click to show internal directories.
Click to hide internal directories.