download

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDownloadUrls

func GetDownloadUrls(aUrl *ArchonUrl) (map[int][]string, error)

GetDownloadUrls returns a map from shard index to urls storing it

Types

type Request

type Request struct {
	ArchonUrl        *ArchonUrl
	DownloadFolder   string
	DownloadFileName string
	Overwrite        bool
	PreferHttp       bool
	Batch            bool
}

func (*Request) Download

func (req *Request) Download() (err error)

Download generates original file contents into DownloadFolder

Jump to

Keyboard shortcuts

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