engine

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = 0x01
	Codec   = multicodec.Cbor
)

Variables

View Source
var (
	Prefix = []string{"tns", "v1"}
)

Functions

This section is empty.

Types

type Engine

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

func New

func New(db kvdb.KVDB, prefix ...string) (*Engine, error)

func (*Engine) Get

func (e *Engine) Get(ctx context.Context, path ...string) (*flat.Object, error)

func (*Engine) Lookup

func (e *Engine) Lookup(ctx context.Context, ops ...iface.Query) (keys []string, err error)

func (*Engine) Merge

func (e *Engine) Merge(ctx context.Context, object *flat.Object) error

Jump to

Keyboard shortcuts

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