MCPcopy Index your code

hub / github.com/PuerkitoBio/gocrawl / types & classes

Types & classes27 in github.com/PuerkitoBio/gocrawl

↓ 13 callersTypeAliasf
Type f is a simple syntax helper to create test cases' extension functions.
tbldef_test.go:23
↓ 1 callersTypeAliasS
S is a convenience type definition, it is a map[string]interface{} that can be used to enqueue URLs (the string) with state information.
urlcontext.go:21
↓ 1 callersTypeAliasU
U is a convenience type definition, it is a map[*url.URL]interface{} that can be used to enqueue URLs with state information.
urlcontext.go:17
StructBaseTagExtender
basetag_test.go:20
StructCrawlError
CrawlError contains information about the crawling error.
errors.go:56
TypeAliasCrawlErrorKind
CrawlErrorKind indicated the kind of crawling error.
errors.go:23
StructCrawler
Crawler is the web crawler that processes URLs and manages the workers.
crawler.go:20
StructDefaultExtender
DefaultExtender is a default working implementation of an extender. It is possible to nest such a value in a custom struct so that only the Extender m
ext.go:83
StructDelayInfo
DelayInfo contains the delay configuration: the Options delay, the Robots.txt delay, and the last delay used.
ext.go:14
StructExampleExtender
Create the Extender implementation, based on the gocrawl-provided DefaultExtender, because we don't want/need to override all methods.
examples_test.go:17
StructExt
cmd/example/main.go:14
InterfaceExtender
Extender defines the extension methods required by the crawler.
ext.go:31
StructFetchInfo
FetchInfo contains the fetch information: the duration of the fetch, the returned status code, whether or not it was a HEAD request, and whether or no
ext.go:23
TypeAliasLogFlags
LogFlags is a set of flags that control the logging of the Crawler.
logger.go:8
StructMyExt
complex_test.go:136
StructOptions
Options contains the configuration for a Crawler to customize the crawling process.
options.go:22
StructShadowExt
complex_test.go:154
StructURLContext
URLContext contains all information related to an URL to process.
urlcontext.go:24
TypeAliasa
Type a is a simple syntax helper to create test cases' asserts.
tbldef_test.go:20
TypeAliasextensionMethodKey
Extension method enum
spyext_test.go:14
StructfileFetcherExtender
The file fetcher, that loads URLs from files in the testdata/ directory.
fileext_test.go:15
TypeAliasignoredCalledWithArg
Type and unique value to identify a called-with argument position to ignore.
spyext_test.go:52
TypeAliaspopChannel
The pop channel is a stacked channel used by workers to pop the next URL(s) to process.
popchannel.go:5
StructspyExtender
The spy extender adds counting the number of calls for each extender method, and tracks the log so that it can be asserted.
spyext_test.go:62
StructtestCase
Test case structure.
tbldef_test.go:26
Structworker
The worker is dedicated to fetching and visiting a given host, respecting this host's robots.txt crawling policies.
worker.go:23
StructworkerResponse
Communication from worker to the master crawler, about the crawling of a URL
crawler.go:11