class Redis
- Redis
- Reference
- Object
Defined in:
redis.crredis/connection.cr
redis/protocol/binary_safe_string.cr
redis/protocol/command.cr
redis/protocol/error.cr
redis/protocol/integer.cr
redis/protocol/non_binary_safe_string.cr
redis/protocol/null.cr
redis/protocol/redis_array.cr
redis/protocol/value.cr
redis/transport.cr
redis/transport/socket.cr
redis/utils/command_parser.cr
redis/utils/result_formatter.cr
Constant Summary
-
DEFAULT_HOST =
"127.0.0.1"
-
DEFAULT_PORT =
6379
Constructors
Instance Method Summary
- #database : String | Nil
- #execute(command : Redis::Protocol::Command) : Redis::Protocol::Value
- #host : String
- #port : Int32
Constructor Detail
def self.new(host : String = DEFAULT_HOST, port : Int32 = DEFAULT_PORT, database : Nil | String = nil, password : String | Nil = nil)
#