Documentation ¶
Index ¶
- Variables
- func Cache(keyName string, expiration int, cacheFunc CacheFunc, cacheParameters ...any) (any, error)
- func Clear()
- func Delete(key string)
- func InitCacheName(keyName string, cacheParameters ...any) string
- func Remove(name string)
- func Set(keyName string, expiration int, data any)
- func Start(GCIntervalTime int64)
- type CacheFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var MapCacher sync.Map
View Source
var MapCacherExpiration sync.Map
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.