LUA通过授权方式登录Redis

作者:糖果


require "redis"
local redis = require 'redis'
local client = redis.connect('127.0.0.1', 6379)


local auth_flg = client:auth("这里是你的密码")
if not auth_flg then
        print("Auth NG!!!")
end


www.lua.ren

糖果

糖果
LUA教程

Apache APISIX在SAE应用市场发布

Apache APISIX在SAE应用市场发布 Continue reading

APISIX后台管理路由创建接口

Published on December 06, 2019

Openresty Nginx Tengine添加动态so库

Published on October 11, 2019