piecestoreimpl

package
v0.0.0-...-75360cb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2023 License: Apache-2.0, MIT Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL