Versions in this module Expand all Collapse all v0 v0.1.4 Jul 31, 2024 v0.1.3 Sep 4, 2023 Changes in this version + type MemCache struct + C *cache.Cache + CleanTime time.Duration + DefaultTime time.Duration + func NewCache(defaultTime, cleanTime time.Duration) *MemCache + func (mem *MemCache) Clear() + func (mem *MemCache) Delete(key string) + func (mem *MemCache) Get(key string) (interface{}, bool) + func (mem *MemCache) GetAll() map[string]cache.Item + func (mem *MemCache) Load(filePath string) error + func (mem *MemCache) Save(filePath string) error + func (mem *MemCache) Set(key string, value interface{}) error + func (mem *MemCache) SetExp(key string, value interface{}, expiration time.Duration) error