Documentation ¶
Overview ¶
Package redis provides a redis interface for http caching.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
Cache is an implementation of httpcache.Cache that caches responses in a redis server.
func NewWithClient ¶
NewWithClient returns a new Cache with the given redis pool.
Click to show internal directories.
Click to hide internal directories.