class Helpers::Redis::Connection

Defined in:

helpers/redis/connection.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(hostname : String = "localhost", port : Int32 = 6379, db : Int32 = 10, pool_size : Int32 = 26, pool_timeout : Float64 = 5.0, password : Nil | String = nil) #

[View source]

Instance Method Detail

def db : Int32 #

[View source]
def hostname : String #

[View source]
def password : String | Nil #

[View source]
def pool_size : Int32 #

[View source]
def pool_timeout : Float64 #

[View source]
def port : Int32 #

[View source]
def redis(&) #

[View source]
def redis_pool : ConnectionPool(::Redis) #

[View source]