Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache represents a simple file-based cache
var ( // WorkspaceCache for workspace structure (1 hour) WorkspaceCache *Cache // UserCache for user list (1 hour) UserCache *Cache // TaskCache for recent tasks (5 minutes) TaskCache *Cache )
Global cache instances with different TTLs
func (*Cache) CleanExpired ¶
CleanExpired removes expired entries from the cache
type CacheEntry ¶
CacheEntry represents a cached item with metadata
Click to show internal directories.
Click to hide internal directories.