Sha256: 6160517e009de85a76da959060a865b5a11e03033ba74fde55f597c14d1fb8a9

Contents?: true

Size: 553 Bytes

Versions: 3

Compression:

Stored size: 553 Bytes

Contents

require "redis_cluster/version"

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/client"
require "redis_cluster/node"
require "redis_cluster/pool"
require "redis_cluster/slot"
require "redis_cluster/crc16"
require "redis_cluster/configuration"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
redis_cluster-0.1.9 lib/redis_cluster.rb
redis_cluster-0.1.7 lib/redis_cluster.rb
redis_cluster-0.1.6 lib/redis_cluster.rb