kvtable

package
v1.12.3 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorParamEmpty liberr.CodeError = iota + liberr.MinPkgDatabaseKVTbl
	ErrorBadDriver
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FuncWalk

type FuncWalk[K comparable, M any] func(kv libkvi.KVItem[K, M]) bool

type KVTable

type KVTable[K comparable, M any] interface {
	Get(key K) (libkvi.KVItem[K, M], error)
	List() ([]libkvi.KVItem[K, M], error)
	Walk(fct FuncWalk[K, M]) error
}

func New

func New[K comparable, M any](drv libkvd.KVDriver[K, M]) KVTable[K, M]

Jump to

Keyboard shortcuts

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