cache

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Lens scene.InfraName = "cache"

Variables

View Source
var (
	ErrFailedToSetCache = _eg.CreateError(0, "failed to set cache")
)
View Source
var NoExpiration = time.Duration(-1)

Functions

This section is empty.

Types

type ICache

type ICache interface {
	scene.Named
	Get(key string) (string, bool)
	Set(key string, value string, expiration time.Duration) error
	Delete(key string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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