Behaviours: gen_server.
redis_value() = integer() | binary()
response() = redis_value() | [redis_value()] | {error, Reason::term()}
| async_cmd/1 | |
| async_cmd/2 | |
| cmd/1 | |
| cmd/2 | |
| cmd/3 | |
| code_change/3 | |
| handle_call/3 | |
| handle_cast/2 | |
| handle_info/2 | |
| init/1 | |
| shutdown/1 | |
| start_link/0 | |
| start_link/1 | |
| start_link/2 | |
| subscribe/1 | |
| subscribe/2 | |
| terminate/2 |
async_cmd(Cmd) -> any()
async_cmd(NameOrPid, Cmd) -> any()
cmd(Cmd) -> any()
cmd(NameOrPid, Cmd) -> any()
cmd(NameOrPid::atom() | pid(), Cmd::list() | binary(), Timeout::integer()) -> response() | [response()]
code_change(OldVsn, OldState, Extra) -> any()
handle_call(Msg, From, State) -> any()
handle_cast(Msg, State) -> any()
handle_info(Msg, State) -> any()
init(X1) -> any()
shutdown(NameOrPid) -> any()
start_link() -> {ok, pid()} | {error, term()}
start_link(Name::atom() | list()) -> {ok, pid()} | {error, term()}
start_link(Name::atom(), Opts::list()) -> {ok, pid()} | {error, term()}
subscribe(Channel::list() | binary()) -> reference() | {error, term()}
subscribe(NameOrPid::atom() | pid(), Channel::list() | binary()) -> reference() | {error, term()}
terminate(Reason, State) -> any()
Generated by EDoc