abstract class Defense::Store

Direct Known Subclasses

Defined in:

defense/store.cr

Instance Method Summary

Instance Method Detail

abstract def exists?(unprefixed_key : String) : Bool #

[View source]
abstract def increment(unprefixed_key : String, expires_in : Int32) : Int64 #

[View source]
def prefix #

[View source]
def prefix_key(unprefixed_key : String) : String #

[View source]
abstract def read(unprefixed_key : String) : Int64 | Nil #

[View source]
abstract def reset #

[View source]