apisix 提供的一些方便的openresty lua 模块

apisix是基于openresty 开发的,同时自己也开源了不少lua 模块,以下是一个不错的lua 模块

etcd

提供etcd 操作,因为apisix 就是基于etc 管理的

typeof

提供类型检查的

lua-var-nginx-module

基于native 的nginx 变量获取,注意需要编译包

lua-resty-radixtree

自适应基数数实现

lua-resty-ipmatcher

高性能ip 匹配的

lua-resty-expr

dsl 表达式执行的

jsonschema

lua 版本的json schema 处理工具

lua-resty-jwt

lua jwt 处理的

说明

以上一些包都是比较有用的,可以加速openresty 应用的开发

参考资料

https://github.com/api7/lua-resty-etcd
https://github.com/iresty/lua-typeof
https://github.com/api7/lua-var-nginx-module
https://github.com/api7/lua-resty-radixtree
https://github.com/api7/lua-resty-ipmatcher

posted on 2022-04-26 23:19  荣锋亮  阅读(587)  评论(0编辑  收藏  举报

导航