package
Version:
v0.28.0
Opens a new window with list of versions in this module.
Published: Apr 16, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Cache implements TTL-based cache with memory limits
New creates a cache with TTL and max size
Delete removes item from cache
Get retrieves item from cache
func (c *Cache) Stats() (items, size int)
Stats returns cache statistics
Source Files
¶
Click to show internal directories.
Click to hide internal directories.