Documentation
¶
Overview ¶
Package redis provides Redis cache that implements cache.Cacher interface.
Index ¶
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 is an implementation of cache.Cacher by Redis.
func NewCache ¶
NewCache returns a new Cache with given expiration. If set to 0, each item has no expiration time.
func (*Cache) DeleteMulti ¶
DeleteMulti deletes items for the given keys.
Click to show internal directories.
Click to hide internal directories.