memory

package module
v0.0.0-...-fc98aae Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCache

func NewCache() cache.Cache

Types

type Item

type Item struct {
	Value      interface{}
	Expiration int64
}

func (*Item) Expired

func (i *Item) Expired() bool

Expired return true if the item has expired.

Jump to

Keyboard shortcuts

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