class Helpers::Redis::CacheStore

Defined in:

helpers/redis/cache_store.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(connection : Helpers::Redis::Connection = Connection.new) #

[View source]

Class Method Detail

def self.connect(connection : Connection) #

[View source]
def self.connect #

[View source]

Instance Method Detail

def connection : Connection #

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

[View source]
def exists?(key : String) #

[View source]
def fetch(key : String, expires_in : Time::Span | Number | Nil = nil, &) #

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

[View source]
def write(key : String, value : String, expires_in : Time::Span | Number | Nil = nil) #

[View source]