downloader

package
v0.0.0-...-8a430b7 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2016 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DirPerm       = 0755
	FilePerm      = 0644
	CacheContent  = "content"
	CacheChecksum = "checksum"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Downloader

type Downloader struct {
	FileType     string
	FileName     string
	MD5          string
	Destination  string
	UseCache     bool
	Params       []string
	SkipMD5Check bool
}

func (*Downloader) Do

func (d *Downloader) Do(ctx context.Context) (err error)

Jump to

Keyboard shortcuts

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