piecestoreimpl

package
v1.28.3 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Apache-2.0, MIT Imports: 13 Imported by: 4

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