Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node interface { GetNodeInfo() *NodeInfo StartSpider(spiderName string) (bool, string) CloseSpider(spiderName string) AcceptRequest(request *http.Request) IsMe(nodeName string) bool DistributeRequest(request *http.Request) AddToCrawlingQuene(request *http.Request) ReportToMaster(result *crawler.ScrapeResult) AcceptResult(scrapyResult *crawler.ScrapeResult) CanWeStopSpider(spiderName string) bool IsStop() bool StopCrawl() MakeMasterNode(nodeName string) IsMasterNode() bool Join() Ready() StartCrawl() PauseCrawl() UnpauseCrawl() GetSpidersName() []string }
Click to show internal directories.
Click to hide internal directories.