store

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

ErrNotFound ...

Functions

func Register

func Register(s ItfCache)

Register ...

Types

type ItfCache

type ItfCache interface {
	String() string
	Set(key string, data []byte) (err error)
	Get(key string) (data []byte, err error)
	Delete(key string) (err error)
	Reset() (err error)
	CacheInstance() ItfCache
}

ItfCache ...

func GetStore

func GetStore(names ...string) (ItfCache, error)

Jump to

Keyboard shortcuts

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