Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache2 ¶ added in v1.0.1
type CacheRedis ¶ added in v1.0.2
type CacheRedis interface {
Add(key string, value interface{}) error
Get(key string, out interface{}) (ok bool, err error)
Remove(key string)
}
func NewRedis ¶ added in v1.0.2
func NewRedis(size int, conf RedisConfig) CacheRedis
Click to show internal directories.
Click to hide internal directories.