remote

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

func New

func New(
	rawURL string, ctx context.Context, logger log.StructuredLogger, opts ...grpc.DialOption,
) (*DB, error)

func (*DB) Close

func (d *DB) Close() error

func (*DB) Delete added in v0.14.4

func (d *DB) Delete(key []byte) error

func (*DB) DeleteRange added in v0.14.4

func (d *DB) DeleteRange(start, end []byte) error

func (*DB) Get added in v0.14.4

func (d *DB) Get(key []byte, cb func(value []byte) error) error

func (*DB) Has added in v0.14.4

func (d *DB) Has(key []byte) (bool, error)

func (*DB) Impl

func (d *DB) Impl() any

func (*DB) NewBatch added in v0.14.4

func (d *DB) NewBatch() db.Batch

func (*DB) NewBatchWithSize added in v0.14.4

func (d *DB) NewBatchWithSize(size int) db.Batch

func (*DB) NewIndexedBatch added in v0.14.4

func (d *DB) NewIndexedBatch() db.IndexedBatch

func (*DB) NewIndexedBatchWithSize added in v0.14.4

func (d *DB) NewIndexedBatchWithSize(size int) db.IndexedBatch

func (*DB) NewIterator added in v0.14.4

func (d *DB) NewIterator(start []byte, withUpperBound bool) (db.Iterator, error)

func (*DB) NewSnapshot added in v0.14.4

func (d *DB) NewSnapshot() db.Snapshot

func (*DB) NewTransaction

func (d *DB) NewTransaction(write bool) (*transaction, error)

func (*DB) Path added in v0.16.5

func (d *DB) Path() string

func (*DB) Put added in v0.14.4

func (d *DB) Put(key, val []byte) error

func (*DB) Update

func (d *DB) Update(fn func(txn db.IndexedBatch) error) error

func (*DB) WithListener

func (d *DB) WithListener(listener db.EventListener) db.KeyValueStore

func (*DB) Write added in v0.16.1

func (d *DB) Write(fn func(w db.Batch) error) error

Jump to

Keyboard shortcuts

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