(*spider.Spider)
| 20 | type ( |
| 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 |
no outgoing calls