Versions in this module Expand all Collapse all v0 v0.1.0 Jul 15, 2026 Changes in this version + func InitCaches() error + type Cache struct + var TaskCache *Cache + var UserCache *Cache + var WorkspaceCache *Cache + func NewCache(ttl time.Duration) (*Cache, error) + func (c *Cache) CleanExpired() (int, error) + func (c *Cache) Clear() error + func (c *Cache) Delete(key string) error + func (c *Cache) Get(key string, dest interface{}) error + func (c *Cache) GetStats() (*Stats, error) + func (c *Cache) Set(key string, value interface{}) error + type CacheEntry struct + Data interface{} + ExpiresAt time.Time + type Stats struct + ExpiredEntries int + NewestEntry time.Time + OldestEntry time.Time + TotalEntries int + TotalSize int64 + ValidEntries int