View Source LibRedis.Typespecs (lib_redis v0.1.3)

Some typespecs for LibRedis

Summary

Types

@type command_t() :: [binary() | bitstring()]
@type name() :: atom() | pid()
@type node_info() :: %{ip: bitstring(), port: non_neg_integer()}
@type on_start() :: {:ok, pid()} | {:error, term()}
@type password() :: bitstring()
@type slot() :: %{
  start_slot: non_neg_integer(),
  end_slot: non_neg_integer(),
  master: node_info(),
  replicas: [node_info()]
}
@type url() :: bitstring()