keyvalue

package
v0.0.0-...-b1bf2c7 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KV

type KV interface {
	Get(key string) (string, error)                  // Get implements KV to get a value from the store
	Set(key, value string, time time.Duration) error // Set implements KV to set a value in the store
	Remove(key string) error                         // Remove implements KV to remove a value from the store
}

func NewKVStore

func NewKVStore() KV

Jump to

Keyboard shortcuts

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