kvstore

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package kvstore implements simple key-value store

It is without synchronization and allows any comparable keys. The main use of this package is for sharing singletons when building a circuit.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	SetKeyValue(key, value any)
	GetKeyValue(key any) (value any)
}

func New

func New() Store

Jump to

Keyboard shortcuts

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