Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SplitDownload ¶
type SplitDownload struct {
// contains filtered or unexported fields
}
分片文件下载 @author fuzeyu
func (*SplitDownload) ErrNotFoundLength ¶
func (this *SplitDownload) ErrNotFoundLength() bool
检查是否没在header头中获取到文件大小
func (*SplitDownload) Init ¶
func (this *SplitDownload) Init(url string, filePath string) *SplitDownload
初始化 @param url 下载路径 @param filePath 本地文件地址 @param workingNumber 工作数量
Click to show internal directories.
Click to hide internal directories.