download

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

*

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, verifyFileValue string,
	totalPart int,
	verifyFileIntegrity func([]byte) string,
	header map[string]string,
	cookieKey, cookieValue string) *FileDownloader

NewFileDownloader .

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