Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Downloader *downloader.Downloader
Functions ¶
Types ¶
type ProgressStream ¶ added in v0.15.0
type ProgressStream struct {
// contains filtered or unexported fields
}
func NewProgressStream ¶ added in v0.15.0
func NewProgressStream(writer io.Writer, size int64, callback func(bytesRead, contentLength int64)) *ProgressStream
type TaskLocalFile ¶ added in v0.12.0
type TaskLocalFile struct {
// contains filtered or unexported fields
}
func NewTaskLocalFile ¶ added in v0.12.0
func NewTaskLocalFile(filePath string, fileSize int64, progressCallback func(bytesRead, contentLength int64)) (*TaskLocalFile, error)
func (*TaskLocalFile) Close ¶ added in v0.12.0
func (t *TaskLocalFile) Close() error
Click to show internal directories.
Click to hide internal directories.