memstore

package
v0.0.0-...-3750d73 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

type Bucket interface {
	Set(string, interface{})
	Get(string) interface{}
	Values() map[string]interface{}
}

type BucketName

type BucketName int
const (
	// TelemetryBucket is the name of the store bucket used by the telemetry service
	TelemetryBucket BucketName = iota + 1
)

type Store

type Store interface {
	Bucket(BucketName) Bucket
}

func New

func New() Store

Jump to

Keyboard shortcuts

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