Documentation ¶ Index ¶ func Clear() func Count() int func Del(k string) func Exists(k string) bool func Get(k string) interface{} func GetAll() []string func GetOrSet(k string, fn func() interface{}, ttl time.Duration) interface{} func Set(k string, v interface{}, ttl time.Duration) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Clear ¶ func Clear() func Count ¶ func Count() int func Del ¶ func Del(k string) func Exists ¶ func Exists(k string) bool func Get ¶ func Get(k string) interface{} func GetAll ¶ func GetAll() []string func GetOrSet ¶ func GetOrSet(k string, fn func() interface{}, ttl time.Duration) interface{} func Set ¶ func Set(k string, v interface{}, ttl time.Duration) Types ¶ This section is empty. Source Files ¶ View all Source files cacheMemory.go Click to show internal directories. Click to hide internal directories.