# Functions
CacheHandler for caching response of one route and return cache if previous call is stored Use it in route definition.
CacheHandlerWithConfig for caching response of one route and return cache if previous call is stored Use it in route definition.
CacheMiddleware for caching response of all route and return cache if previous call is stored Use it in middleware definition.
CacheMiddlewareWithConfig for caching response of all route and return cache if previous call is stored Use it in middleware definition.
GetKey build unique key by route with queryParams.
No description provided by the author
No description provided by the author
until redigo supports sharding/clustering, only one host will be in hostList.
StoreMiddleware for provide Store to all route using echo.Context#Set() Use echo.Context#Get() with cache.DefaultCacheContextKey for get store in your route.
StoreMiddlewareWithConfig for provide Store to all route using echo.Context#Set() Use echo.Context#Get() with cache.DefaultCacheContextKey for get store in your route.
# Constants
DEFAULT Duration use Duration passed in Store constructor.
No description provided by the author
No description provided by the author
NEVER Duration never remove value of the cache.
# Variables
No description provided by the author
DefaultConfig used by default if you don't specifies Config or value inside Config.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
Wraps the Redis client to meet the Cache interface.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author