class

Defense::RedisStore

Inherits Defense::Store < Reference < Object

Constructors

new(redis : Redis::Client)
Source
new(url : String | Nil = nil)
Source

Instance methods

exists?(unprefixed_key : String) : Bool
Source
increment(unprefixed_key : String, expires_in : Int32) : Int64
Source
read(unprefixed_key : String) : Int64 | Nil
Source
reset
Source