downloader

package
v2.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Downloader

type Downloader struct {
	// contains filtered or unexported fields
}

func NewDefaultDownloader

func NewDefaultDownloader() Downloader

func (*Downloader) Download

func (d *Downloader) Download(dest string, urls ...backend.Download) ([]string, []string)

Download tries to download specified with URLs list of files and put them into the destination folder. It will return a partial or full list of downloaded files, a list of processed files if some pipe processing functions are set.

type Process

type Process func(string, []string) []string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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