class RedisProto(T)

Defined in:

redis-proto.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pool : ConnectionPool(Redis::Client), prefix : String, primary : String = "id") #

[View source]
def self.new(redis_uri : String, prefix : String, primary : String = "id") #

[View source]

Instance Method Detail

def get(key : String) : T #

[View source]
def get?(key : String) : T | Nil #

[View source]
def set(obj : T) : String #

[View source]