Documentation ¶
Overview ¶
Package cache implements integrations with Redis.
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 wraps the functionality of our redis client.
func New ¶
New initializes and returns a new Cache, for the given ID, which works on the given Conn.
func (*Cache) EnqueuePurgeRequest ¶
EnqueuePurgeRequest enqueues a purge request for the given URL.
func (*Cache) Next ¶
Next returns the next url to be purged or empty strings in case such a URL does not exist yet.
Click to show internal directories.
Click to hide internal directories.