downloader

package
v0.0.0-...-e37027d Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileDownloader

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

FileDownloader 文件下载器

func NewFileDownloader

func NewFileDownloader(url, outputFileName, outputDir string, totalPart int, md5 string) *FileDownloader

FileDownloader 工厂方法

func (*FileDownloader) Run

func (d *FileDownloader) Run() error

Run 开始下载任务

Jump to

Keyboard shortcuts

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