lua-nginx-module
lua-nginx-module copied to clipboard
feature: implemented the lindex method for list type shared dict value
trafficstars
The lindex method returns the element at index index in the shared
dict list. Just like the LINDEX of Redis.
I hereby granted the copyright of the changes in this pull request to the authors of this lua-nginx-module project.
@agentzh @membphis Rewrote it with the FFI method.
The sibling PR is https://github.com/openresty/lua-resty-core/pull/231.
This pull request is now in conflict :(