Documentation ¶
Overview ¶
*
- copy from: https://zh.mojotv.cn/go/go-range-download
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 .
Click to show internal directories.
Click to hide internal directories.