Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chunker ¶
type Chunker struct {
// contains filtered or unexported fields
}
func NewChunker ¶
NewChunker creates a new chunker for the given file size.
func (*Chunker) CalculateOptimalChunks ¶
CalculateOptimalChunks determines the optimal number of chunks based on file size.
func (*Chunker) SplitIntoChunks ¶
func (c *Chunker) SplitIntoChunks()
SplitIntoChunks divides the file into chunks based on the calculated chunk count.
type ConcurrentDownloadManager ¶
type ConcurrentDownloadManager struct {
// contains filtered or unexported fields
}
func NewConcurrentDownloadManager ¶
func NewConcurrentDownloadManager() *ConcurrentDownloadManager
NewConcurrentDownloadManager creates a new concurrent download manager.
func NewConcurrentDownloadManagerWithOptions ¶
func NewConcurrentDownloadManagerWithOptions(options *types.DownloadOptions) *ConcurrentDownloadManager
NewConcurrentDownloadManagerWithOptions creates a new concurrent download manager with options.
Click to show internal directories.
Click to hide internal directories.