//
pkg.gl
Category
github.com/thisisdevelopment/go-dockly/v2
xcache
package
2.4.2
Repository:
https://github.com/thisisdevelopment/go-dockly.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
3
Dependents
0
Files
154 SLOC
#
Functions
New
New returns a cache with a given default expiration and cleanup interval.
#
Constants
DefaultExpiration
DefaultExpiration as configured with New() eg 5 minutes.
NoExpiration
NoExpiration eg will never be deleted.
#
Structs
Cache
Cache construct to control garbage collector.
Item
Item is a generic interface holding the cache object.