Versions in this module Expand all Collapse all v0 v0.9.1 Feb 11, 2026 v0.9.0 Sep 18, 2025 Changes in this version + func GetRead(ctx context.Context) (datastore.Read, bool) + func GetWrite(ctx context.Context) (datastore.Write, bool) + func WithRead(ctx context.Context, batch datastore.Read) context.Context + func WithWrite(ctx context.Context, batch datastore.Write) context.Context + func WrapDatastore(ds datastore.Datastore) datastore.Datastore + type Datastore struct + func (ds *Datastore) Batch(ctx context.Context) (datastore.Batch, error) + func (ds *Datastore) Close() error + func (ds *Datastore) Delete(ctx context.Context, key datastore.Key) error + func (ds *Datastore) Get(ctx context.Context, key datastore.Key) ([]byte, error) + func (ds *Datastore) GetSize(ctx context.Context, key datastore.Key) (int, error) + func (ds *Datastore) Has(ctx context.Context, key datastore.Key) (bool, error) + func (ds *Datastore) NewTransaction(ctx context.Context, readOnly bool) (datastore.Txn, error) + func (ds *Datastore) Put(ctx context.Context, key datastore.Key, value []byte) error + func (ds *Datastore) Query(ctx context.Context, q query.Query) (query.Results, error) + func (ds *Datastore) Sync(ctx context.Context, prefix datastore.Key) error