class

Totem::RemoteProviders::Redis

Inherits Totem::RemoteProviders::Adapter < Reference < Object

Redis remote provider

Note: It dependency crystal-redis shard. Install it before use.

Constructors

new(endpoint : String, path : String | Nil = nil)
Source

Instance methods

get(key : String) : Any | Nil
Source
get_hash(key : String)
Source
get_set(key : String)
Source
get_str(key : String)
Source
get_zset(key : String)
Source
read(config_type : String | Nil = nil) : Hash(String, Totem::Any) | Nil
Source