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, hc *httpclient.Client) Downloader
NewDownloader creates a Downloader from the reva gateway.
Click to show internal directories.
Click to hide internal directories.