Versions in this module Expand all Collapse all v1 v1.0.3 May 3, 2020 v1.0.2 May 2, 2020 Changes in this version + var GlobalCacheOpMap = CacheOpMap + type CacheOpMap struct + func (cm *CacheOpMap) CacheOperation(op string, key interface{}, opFunc OpFunc) (data expires.DataExpires) + func (cm *CacheOpMap) CacheOperationWithError(op string, key interface{}, opFunc OpFuncWithError) (data expires.DataExpires, err error) + func (cm *CacheOpMap) ClearInvalidate() + func (cm *CacheOpMap) LazyInitCachePoolOp(op string) CacheUnit + func (cm *CacheOpMap) PrintAll() + func (cm *CacheOpMap) RemoveCachePoolOp(op string) + type CacheUnit interface + Delete func(key interface{}) + Load func(key interface{}) (value expires.DataExpires, ok bool) + LoadOrStore func(key interface{}, value expires.DataExpires) (actual expires.DataExpires, loaded bool) + LockKey func(key interface{}) + Range func(f func(key interface{}, value expires.DataExpires) bool) + Store func(key interface{}, value expires.DataExpires) + UnlockKey func(key interface{}) + type OpFunc func() expires.DataExpires + type OpFuncWithError func() (expires.DataExpires, error)