ukvs

package module
v0.0.0-...-70e0a4a Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2022 License: MIT Imports: 3 Imported by: 0

README

ukvs

WARNING!

Project is under development

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("Not found")

ErrNotFound _

Functions

This section is empty.

Types

type IStore

type IStore interface {
	Get(key string) ([]byte, error)
	// TODO: always ask expiration
	Set(key string, val []byte) error
	GetAll(ctx context.Context) (results chan []byte, failures chan error)
	FindAll(ctx context.Context, pattern string) (results chan []byte, failures chan error)
	Destroy(key string) error
	ExpireAt(key string, time time.Time) error
	Persist() error
	Closed() <-chan struct{}
}

IStore _

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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