Versions in this module Expand all Collapse all v0 v0.1.1 Jun 2, 2023 v0.1.0 Jun 2, 2023 Changes in this version + type Downloader struct + func NewDownloader(v Verifier, f Fetcher) Downloader + func (d Downloader) Get(uri, dst string) error + type Fetcher interface + Get func(uri string) (io.ReadCloser, error) + func NewFileFetcher(path string) Fetcher + type HTTPFetcher struct + func (HTTPFetcher) Get(uri string) (io.ReadCloser, error) + type Verifier interface + Verify func() error + func NewSha256Verifier(hashed string) Verifier