Documentation ¶
Index ¶
Constants ¶
View Source
const (
FileChunkKeySep = "_"
)
Variables ¶
View Source
var CacheBlockSize int = 1 * 1024 * 1024 // 1 Mib
CacheBlockSize is the size of a single cached block.
Functions ¶
func FileChunkKey ¶
FileChunkKey returns the p2p lookup key for the given chunk of a file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.