Documentation
¶
Overview ¶
Package cache manager
Index ¶
- type Cache
- func (cc *Cache) AddORUpdate(key string, v interface{}) (c int32, err error)
- func (cc *Cache) Del(key string)
- func (cc *Cache) Delete(key string)
- func (cc *Cache) Get(key string) (v interface{}, err error)
- func (cc *Cache) Len() int32
- func (cc *Cache) Range(fn RangeCall)
- func (cc *Cache) Set(key string, v interface{}) (c int32, err error)
- type RangeCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache cache
func (*Cache) AddORUpdate ¶
AddORUpdate set value
Click to show internal directories.
Click to hide internal directories.