Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlobIndexSchema ¶
BlobIndexSchema returns the schema type for a blob index of a single shard
func ShardedDagIndexSchema ¶
ShardedDagIndexSchema returns the schema type for a sharded dag index
Types ¶
type BlobIndexModel ¶
type BlobIndexModel struct { Multihash []byte Slices []BlobSliceModel }
BlobIndexModel is the golang structure for encoding a shard of CIDS in a block
type BlobSliceModel ¶
type BlobSliceModel struct { Multihash []byte Position PositionModel }
BlobSliceModel describes a multihash and its position in a blob
type PositionModel ¶
PositionModel is an offset and length for a since CID in a blob
type ShardedDagIndexModel ¶
type ShardedDagIndexModel struct {
DagO_1 *ShardedDagIndexModel_0_1
}
ShardedDagIndexModel is the golang structure for encoding sharded DAG index header blocks
type ShardedDagIndexModel_0_1 ¶
type ShardedDagIndexModel_0_1 struct { Content ipld.Link Shards []ipld.Link }
ShardedDagIndexModel_0_1 describes the 0.1 version of ShardedDagIndex
Click to show internal directories.
Click to hide internal directories.