View Source LibRedis.ClientStore behaviour (lib_redis v0.1.0)

behaviour for redis client store

Link to this section Summary

Link to this section Types

Link to this section Callbacks

@callback get(t()) :: v()
@callback new(opts()) :: t()
@callback random(t()) :: v()
@callback start_link([{:store, t()}]) :: GenServer.on_start()

Link to this section Functions

@spec get(t()) :: v()
@spec random(t()) :: v()