Downloader is responsible for fetching, verifying and extracting a binary.
| 233 | |
| 234 | // Downloader is responsible for fetching, verifying and extracting a binary. |
| 235 | type Downloader struct { |
| 236 | verifier Verifier |
| 237 | fetcher Fetcher |
| 238 | } |
| 239 | |
| 240 | // NewDownloader builds a new Downloader. |
| 241 | func NewDownloader(v Verifier, f Fetcher) Downloader { |
nothing calls this directly
no outgoing calls
no test coverage detected