Documentation
¶
Index ¶
Constants ¶
View Source
const Version string = "v0.1.0"
Variables ¶
View Source
var ( ChunkSizeMB int = 1 // 1MB AutoDetectChunks bool OutputDir string Workers int )
View Source
var (
ErrRangeNotSupported = errors.New("Range not supported, disable chunking download")
)
Functions ¶
Types ¶
type ChunkHandler ¶
type FileInfo ¶
type FileInfo struct { File *os.File Dir string Name string Ext string Size int64 ChunkSize float64 AcceptsRanges bool }
func (*FileInfo) CreateFile ¶
func (*FileInfo) DownloadChunk ¶
func (*FileInfo) DownloadInChunks ¶
func (*FileInfo) GetFullPath ¶
Click to show internal directories.
Click to hide internal directories.