This commit is contained in:
followcube
2021-06-08 21:53:20 +03:00
parent 0f7bd9951b
commit 182b6e0000
6 changed files with 1231 additions and 3 deletions

8
scripts/test2.lua Normal file
View File

@ -0,0 +1,8 @@
package.path = package.path .. "./?.lua;/usr/local/etc/haproxy/scripts/?.lua"
require("redis")
local redis = require 'redis'
local client = redis.connect('127.0.0.1', 6379)
local response = client:ping()
local dummy = client:get('dummy')
print(dummy)