This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Используется только luasocket | |
-- Проверял, можно ли выполнить несколько операций записи и только затем выполнить операции чтения | |
local auth_buff = { | |
"*2\r\n", | |
"$4\r\nAUTH\r\n", | |
"$14\r\nqwertyuiopasdf\r\n", | |
} | |
local host, port = os.getenv("REDIS_HOST"):match("([^:]+):?(%d*)") |
OlderNewer