Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixtureChunk ¶
FixtureChunk gets a pregenerated content-addressed chunk and panics if one is not found.
func GenerateTestRandomChunk ¶
GenerateTestRandomChunk generates a valid content addressed chunk.
func GenerateTestRandomChunkAt ¶
GenerateTestRandomChunkAt generates an invalid (!) chunk with address of proximity order po wrt target.
func GenerateTestRandomChunks ¶
GenerateTestRandomChunks generates a slice of random Chunks by using GenerateTestRandomChunk function.
func GenerateTestRandomInvalidChunk ¶
GenerateTestRandomInvalidChunk generates a random, however invalid, content addressed chunk.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.