class Kiwi::MemoryStore

Defined in:

kiwi/memory_store.cr

Constructors

Instance Method Summary

Instance methods inherited from class Kiwi::Store

[](*args) [], []=(*args) []=, clear : Store clear, delete(key : String) : String | Nil delete, fetch(key : String, &) : String | Nil fetch, get(key : String) : String | Nil get, set(key : String, val : String) : String set

Constructor Detail

def self.new(expires_in : Time::Span = 5.minutes) #

[View source]

Instance Method Detail

def clear : Store #

[View source]
def delete(key : String) : String | Nil #

[View source]
def expires_in : Time::Span #

[View source]
def get(key : String) : String | Nil #

[View source]
def set(key : String, val : String) : String #

[View source]