Sha256: f2b6a49ee5ac1642c41744dea5909addd132327f5dca972cbaccb5cebf7e428b
Contents?: true
Size: 596 Bytes
Versions: 5
Compression:
Stored size: 596 Bytes
Contents
require "redis_cluster/version" require "redis" module RedisCluster class << self # startup_hosts examples: # [{host: 'xxx', port: 'xxx'}, {host: 'xxx', port: 'xxx'}, ...] # global_configs: # options for redis: password, ... def new(startup_hosts, global_configs = {}) @client = Client.new(startup_hosts, global_configs) end end end require "redis_cluster/configuration" require "redis_cluster/client" require "redis_cluster/node" require "redis_cluster/pool" require "redis_cluster/slot" require "redis_cluster/crc16" require "redis_cluster/errors"
Version data entries
5 entries across 5 versions & 1 rubygems