kvs

package
v0.0.0-...-f0f5510 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(f string, memory bool) (*badger.DB, error)

Types

type KVEntry

type KVEntry struct {
	Key   string
	Value []byte
}

func NewFromStore

func NewFromStore(key string, db *badger.DB) (*KVEntry, error)

func (*KVEntry) Fetch

func (kv *KVEntry) Fetch(db *badger.DB) error

func (*KVEntry) Store

func (kv *KVEntry) Store(db *badger.DB) error

Jump to

Keyboard shortcuts

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