datastore

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2025 License: AGPL-3.0, AGPL-3.0-or-later Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = ds.ErrNotFound

Functions

func MutexWrap added in v0.5.162

func MutexWrap(d ds.Datastore) *dssync.MutexDatastore

func NewBlockstore added in v0.5.162

func NewBlockstore(b Batching, opts ...blockstore.Option) blockstore.Blockstore

func NewKey

func NewKey(s string) ds.Key

Types

type Batch

type Batch = ds.Batch

type Batching

type Batching = ds.Batching

type Datastore

type Datastore = ds.Datastore

type DsEntry

type DsEntry = dsq.Entry

type Filter

type Filter = dsq.Filter

type Key

type Key = ds.Key

type OrderByKey

type OrderByKey = dsq.OrderByKey

type OrderByKeyDescending

type OrderByKeyDescending = dsq.OrderByKeyDescending

type Query

type Query = dsq.Query

type Result

type Result = dsq.Result

type Results

type Results = dsq.Results

func NaiveQueryApply

func NaiveQueryApply(q Query, qr Results) Results

func ResultsReplaceQuery

func ResultsReplaceQuery(r Results, q Query) Results

func ResultsWithContext

func ResultsWithContext(q Query, proc func(context.Context, chan<- Result)) Results

Jump to

Keyboard shortcuts

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