Sha256: 9f20207c8bca22463ca4e41703c813eec62bf367ec4b9874a6467d2e382f91e7

Contents?: true

Size: 600 Bytes

Versions: 5

Compression:

Stored size: 600 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"
require "redis_cluster/errors"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
redis_cluster-0.2.7 lib/redis_cluster.rb
redis_cluster-0.2.6 lib/redis_cluster.rb
redis_cluster-0.2.5 lib/redis_cluster.rb
redis_cluster-0.2.4 lib/redis_cluster.rb
redis_cluster-0.2.3 lib/redis_cluster.rb