View Source LibRedis.ClientStore (lib_redis v0.1.1)

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

Link to this section Summary

Link to this section Types

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

Link to this section Functions

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