Class lugate.cache.cache
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
Cache:new (...) | Create new cache instance |
Cache:set (key, value, ttl) | Set value to cache |
Cache:sadd (set, key) | Add value to the set |
Cache:get (key) | Get value from cache |