object

package
v0.51.6 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrObjectStoreClosed is returned if the store is closed.
	ErrObjectStoreClosed = errors.New("object store is closed")
	// ErrEmptyObjectStoreId is returned if the object store id was empty.
	ErrEmptyObjectStoreId = errors.New("object store id is empty")
	// ErrEmptyObjectStoreKey is returned if the object store key was empty.
	ErrEmptyObjectStoreKey = errors.New("object store key is empty")
)

Functions

This section is empty.

Types

type ObjectStore

type ObjectStore interface {
	// Store indicates ObjectStore provides a transactional key/value store.
	kvtx.Store
}

ObjectStore implements a key/value object store. Calls may return ErrObjectStoreClosed or context.Canceled if the store is closed.

func NewPrefixer

func NewPrefixer(base ObjectStore, prefix []byte) ObjectStore

NewPrefixer constructs a new object store prefixer.

type Prefixer

type Prefixer = kvtx_prefixer.Prefixer

Prefixer implements an object store prefixer.

Directories

Path Synopsis
rpc

Jump to

Keyboard shortcuts

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