Documentation ¶
Index ¶
Constants ¶
View Source
const (
NeverExpire = time.Duration(0)
)
Variables ¶
View Source
var Nil = redis.Nil
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg RedisConfig) (cache *Cache)
type RedisConfig ¶
Click to show internal directories.
Click to hide internal directories.