kv

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 2 Imported by: 0

README

kv store

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = xerrors.New("kv: key not found")

Functions

This section is empty.

Types

type KVDB

type KVDB interface {
	Put(string, []byte) error
	Delete(string) error
	Get(string) ([]byte, error)
	Size(string) (int, error)

	AllKeysChan(context.Context) (<-chan string, error)
	Close() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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