downloaderImpl is implementation of Downloader interface
| 27 | |
| 28 | // downloaderImpl is implementation of Downloader interface |
| 29 | type downloaderImpl struct { |
| 30 | progress aptly.Progress |
| 31 | aggWriter io.Writer |
| 32 | maxTries int |
| 33 | client *http.Client |
| 34 | } |
| 35 | |
| 36 | // NewDownloader creates new instance of Downloader which specified number |
| 37 | // of threads and download limit in bytes/sec |
nothing calls this directly
no outgoing calls
no test coverage detected