downloader

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: Apache-2.0 Imports: 10 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(context.Context, 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