Class lugate.cache.redis
The lugate module.
Lugate is a lua module for building JSON-RPC 2.0 Gateway APIs just inside of your Nginx configuration file. Lugate is meant to be used with [ngx\_http\_lua\_module](https://github.com/openresty/lua-nginx-module) together.
Info:
- License: MIT
- Author: Ivan Zinovyev
Functions
Redis:new (...) | Create new redis instance (wrapper for redis-lua class) |
Redis:set (key, value, ttl) | Set value to cache |
Redis:get (key) | Get value from cache |