quickdown

package module
v0.0.0-...-8070d96 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2018 License: MIT Imports: 11 Imported by: 0

README

quickdown

A Golang package for quickly download.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Download

func Download(url string) error

func DownloadTo

func DownloadTo(url, filename string) error

func DownloadWithWorkers

func DownloadWithWorkers(url string, workerCount int) error

func DownloadWithWorkersTo

func DownloadWithWorkersTo(url string, workerCount int, filename string) error

Types

type DownloadTask

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

func NewDefaultDownloadTask

func NewDefaultDownloadTask(url string) *DownloadTask

func NewDownloadTask

func NewDownloadTask(url, filename string, workerCount int) *DownloadTask

func NewDownlosadTaskWithWorkers

func NewDownlosadTaskWithWorkers(url string, workerCount int) *DownloadTask

func (*DownloadTask) Download

func (self *DownloadTask) Download()

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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