Documentation
¶
Overview ¶
Package cache implements a basic redis cache which provides functionality to interact with redis
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisCacher ¶
type RedisCacher struct {
// contains filtered or unexported fields
}
func NewRedisCacher ¶
func NewRedisCacher(redis datastore.Redis) RedisCacher
NewRedisCacher is a factory function that creates and returns an instance of RedisCacher.
func (RedisCacher) Delete ¶
func (r RedisCacher) Delete(key string) error
Delete removes the cached content associated with the given key from Redis.
Click to show internal directories.
Click to hide internal directories.