aurelin-framework 0.4.2

Aurelin is a Rust translation of Laravel
Documentation
1
2
3
4
5
6
7
8
9
10
if redis.call("get", KEYS[1]) ~= ARGV[1] then
    return 0
end

if tonumber(ARGV[2]) > 0 then
    return redis.call("pexpire", KEYS[1], ARGV[2])
end

redis.call("persist", KEYS[1])
return 1