class KiwiCache

Defined in:

app/kiwi.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(storage : Kiwi::Store = Kiwi::RedisStore.new(REDIS)) #

[View source]

Instance Method Detail

def clear(*args, **options) #

[View source]
def clear(*args, **options, &) #

[View source]
def fetch(key : String, &) : String | Nil #

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

[View source]
def storage : Kiwi::Store #

[View source]
def storage=(storage : Kiwi::Store) #

[View source]
def write(key : String, value : String) : String #

[View source]