Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DSCIDPrefix = "/cid-infos"
DSCIDPrefix is the name space for storing CID infos
View Source
var DSPiecePrefix = "/pieces"
DSPiecePrefix is the name space for storing piece infos
Functions ¶
func NewPieceStore ¶
func NewPieceStore(ds datastore.Batching) (piecestore.PieceStore, error)
NewPieceStore returns a new piecestore based on the given datastore
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.