inmem

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrKeyNotExist = errors.New("", errors.Alert, "Key does not exist")
)

Functions

func New

func New(opts Options) (cache.Handler, error)

Types

type Options

type Options struct {
	Expiration      time.Duration
	CleanupInterval time.Duration
}

Jump to

Keyboard shortcuts

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