downloader

package
v1.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Downloader

type Downloader interface {
	Download(ctx context.Context, path, versionKey string) (io.ReadCloser, error)
}

Downloader is the interface implemented by the objects that are able to download a path into a destination Writer.

func NewDownloader

func NewDownloader(gtw gateway.GatewayAPIClient, options ...rhttp.Option) Downloader

NewDownloader creates a Downloader from the reva gateway.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL