View Source LibRedis.Cluster (lib_redis v0.1.0)

cluster redis client

Link to this section Summary

Link to this section Types

@type node_info() :: %{ip: bitstring(), port: non_neg_integer()}
@type slot_info() :: %{
  start_slot: non_neg_integer(),
  end_slot: non_neg_integer(),
  master: node_info(),
  replicas: [node_info()]
}
@type t() :: %LibRedis.Cluster{
  client_store_module: module(),
  name: LibRedis.Typespecs.name(),
  password: LibRedis.Typespecs.password(),
  pool_size: non_neg_integer(),
  refresh_interval_ms: non_neg_integer(),
  slot_store_module: module(),
  urls: [LibRedis.Typespecs.url()]
}

Link to this section Functions