MCPcopy
hub / github.com/andeya/pholcus / Init

Method Init

app/crawler/crawler.go:22–22  ·  view source on GitHub ↗
(*spider.Spider)

Source from the content-addressed store, hash-verified

20type (
21 Crawler interface {
22 Init(*spider.Spider) Crawler // Init initializes the crawler engine
23 Run() // Run executes the task
24 Stop() // Stop terminates the crawler
25 CanStop() bool // CanStop reports whether the crawler can be stopped

Callers 11

TestCrawler_InitFunction · 0.65
TestCrawler_CanStopFunction · 0.65
TestCrawler_StopFunction · 0.65
TestCrawler_RunFunction · 0.65

Calls

no outgoing calls

Tested by 11

TestCrawler_InitFunction · 0.52
TestCrawler_CanStopFunction · 0.52
TestCrawler_StopFunction · 0.52
TestCrawler_RunFunction · 0.52