Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixtureChunk ¶ added in v0.4.1
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 ¶ added in v0.6.0
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 ¶ added in v0.4.1
GenerateTestRandomInvalidChunk generates a random, however invalid, content addressed chunk.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.