//
pkg.gl
Category
github.com/KusionStack/karpor
pkg
util
cache
package
0.5.9
Repository:
https://github.com/kusionstack/karpor.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
2
Files
48 SLOC
#
Functions
NewCache
NewCache creates a new Cache instance with a specified expiration time.
#
Structs
Cache
Cache manages the caching of items based on keys with expiration time for cached items.
CacheItem
CacheItem represents an item stored in the cache along with its expiration time.