store

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IIndexSource

type IIndexSource[K index.Value, V types.HashType] interface {
	Get(ctx context.Context, isLeaf bool, index K) (V, error)
	Set(ctx context.Context, isLeaf bool, index K, value V) error
	LeafIndex(ctx context.Context, leaf V) (K, error)
}

func MemoryIndexSource

func MemoryIndexSource[K index.Value, V types.HashType]() IIndexSource[K, V]

Jump to

Keyboard shortcuts

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