cache

package
v21.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultExpiration = 5 * time.Minute
	CleanupInterval   = 5 * time.Minute
)

Variables

This section is empty.

Functions

func NewDefaultCache

func NewDefaultCache() *gocache.Cache

Types

type PrivateCacheItem

type PrivateCacheItem struct {
	Payload []byte
	Extra   engine.ExtraMetadata
}

Jump to

Keyboard shortcuts

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