The Downloader interface. You can implement the interface by implement function Download. Function Download need to return Page instance pointer that has request result downloaded from Request.
| 10 | // You can implement the interface by implement function Download. |
| 11 | // Function Download need to return Page instance pointer that has request result downloaded from Request. |
| 12 | type Downloader interface { |
| 13 | Download(req *request.Request) *page.Page |
| 14 | } |
no outgoing calls
no test coverage detected