Versions in this module Expand all Collapse all v0 v0.1.0 Mar 25, 2026 Changes in this version + func NewCacheItem(key string, value interface{}, expires chrono.TimeStampIfc) *cacheItem + type Cache struct + func NewCache() *Cache + func (r *Cache) Close() error + func (r *Cache) Configure(config cfg.ConfigIfc) error + func (r *Cache) Count() int + func (r *Cache) Drop(key string) (bool, error) + func (r *Cache) DropAll(keys *[]string) (int, error) + func (r *Cache) Flush() + func (r *Cache) Get(key string) interface{} + func (r *Cache) GetExpires(key string) chrono.TimeStampIfc + func (r *Cache) GetKeys() []string + func (r *Cache) Has(key string) bool + func (r *Cache) HasAll(keys *[]string) bool + func (r *Cache) IsEmpty() bool + func (r *Cache) IsRunning() bool + func (r *Cache) Run() + func (r *Cache) Set(key string, value interface{}) bool + func (r *Cache) SetExpires(key string, expires chrono.TimeStampIfc) bool + func (r *Cache) SetTimeSource(timeSource chrono.TimeSourceIfc) + func (r *Cache) Size() int64 + func (r *Cache) Stop() + type CacheIfc interface + Close func() error + Configure func(config cfg.ConfigIfc) error + Count func() int + Drop func(key string) (bool, error) + DropAll func(keys *[]string) (int, error) + Flush func() + Get func(key string) interface{} + GetExpires func(key string) chrono.TimeStampIfc + GetKeys func() []string + Has func(key string) bool + HasAll func(keys *[]string) bool + IsEmpty func() bool + Set func(key string, value interface{}) bool + SetExpires func(key string, expires chrono.TimeStampIfc) bool + SetTimeSource func(timeSource chrono.TimeSourceIfc) + Size func() int64 + type CacheItemIfc interface + GetExpires func() chrono.TimeStampIfc + GetKey func() string + GetValue func() interface{} + IsExpired func() bool + SetExpires func(expires chrono.TimeStampIfc) + Size func() int64