Sha256: 86846db019888bd036a42c6d4b39831d5e1ab2b06a437c0ff2b6f8a3bb58dd6c
Contents?: true
Size: 569 Bytes
Versions: 1
Compression:
Stored size: 569 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: # now not used, options for later versions 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"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redis_cluster-0.2.1 | lib/redis_cluster.rb |