View Source LibRedis.ClientStore (lib_redis v0.1.3)

redis client store, using registry to store {host, port} -> pid mapping

Summary

Types

@type k() :: {bitstring(), non_neg_integer()}
@type opts() :: keyword()
@type t() :: %LibRedis.ClientStore{name: GenServer.name()}
@type v() :: pid() | nil

Functions

@spec get(t(), k()) :: v()
@spec new(opts()) :: t()
@spec random(t()) :: v()