download

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: Apache-2.0 Imports: 10 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 NewTask

func NewTask(output, url, filename string) (*Downloader, error)

NewTask returns a Task instance -- NewTask返回一个Task实例

func (*Downloader) Start

func (d *Downloader) Start(concurrency int) error

Start runs downloader -- 开始运行下载器

Jump to

Keyboard shortcuts

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