Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cache *cache.Cache
Functions ¶
This section is empty.
Types ¶
type ICache ¶
type ICache interface { Open() *cache.Cache Set(key string, data interface{}) Get(key string) *interface{} Delete(key string) }
func NewSimpleCache ¶
func NewSimpleCache(s SimpleCache) ICache
type SimpleCache ¶
func (*SimpleCache) Delete ¶
func (s *SimpleCache) Delete(key string)
func (*SimpleCache) Get ¶
func (s *SimpleCache) Get(key string) *interface{}
func (*SimpleCache) Open ¶
func (s *SimpleCache) Open() *cache.Cache
func (*SimpleCache) Set ¶
func (s *SimpleCache) Set(key string, data interface{})
Click to show internal directories.
Click to hide internal directories.