class Totem::RemoteProviders::Redis

Overview

Redis remote provider

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

Defined in:

totem/remote_providers/redis.cr

Constructors

Instance Method Summary

Instance methods inherited from class Totem::RemoteProviders::Adapter

get(key : String) : Any | Nil get, read(config_type : String | Nil = nil) : Hash(String, Totem::Any) | Nil read

Instance methods inherited from class Reference

==(other : Totem::Any) ==

Instance methods inherited from class Object

===(other : Totem::Any) ===

Constructor Detail

def self.new(endpoint : String, path : String | Nil = nil) #

[View source]

Instance Method Detail

def get(key : String) : Any | Nil #

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

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

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

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

[View source]
def read(config_type : String | Nil = nil) : Hash(String, Totem::Any) | Nil #

[View source]