class Crog::RedisCache

Defined in:

redis_cache.cr

Constant Summary

Log = ::Log.for("cache")

Constructors

Instance Method Summary

Constructor Detail

def self.new(host : String, port : Int32) #

[View source]

Instance Method Detail

def get(key : String) #

[View source]
def set(key : String, value : String, ttl : Int32 = 3600) #

[View source]