Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChunkList ¶
Chunks: The file that we want to download will be split into multiple pieces represented
as Chunks. It captures info about the number of pieces, size of each piece and the interval of each piece (its starting and ending byte value) segments: [[0,n1],[n1+1,n1+chunkSize]....[,n]]
func (*ChunkList) ComputeChunks ¶
func (c *ChunkList) ComputeChunks()
ComputeChunks: Compute chunks for a given parts(thread count).
Click to show internal directories.
Click to hide internal directories.