Module redo

Behaviours: gen_server.

Data Types

redis_value()

redis_value() = integer() | binary()

response()

response() = redis_value() | [redis_value()] | {error, Reason::term()}

Function Index

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

Function Details

async_cmd/1

async_cmd(Cmd) -> any()

async_cmd/2

async_cmd(NameOrPid, Cmd) -> any()

cmd/1

cmd(Cmd) -> any()

cmd/2

cmd(NameOrPid, Cmd) -> any()

cmd/3

cmd(NameOrPid::atom() | pid(), Cmd::list() | binary(), Timeout::integer()) -> response() | [response()]

code_change/3

code_change(OldVsn, OldState, Extra) -> any()

handle_call/3

handle_call(Msg, From, State) -> any()

handle_cast/2

handle_cast(Msg, State) -> any()

handle_info/2

handle_info(Msg, State) -> any()

init/1

init(X1) -> any()

shutdown/1

shutdown(NameOrPid) -> any()

start_link/0

start_link() -> {ok, pid()} | {error, term()}

start_link/1

start_link(Name::atom() | list()) -> {ok, pid()} | {error, term()}

start_link/2

start_link(Name::atom(), Opts::list()) -> {ok, pid()} | {error, term()}

subscribe/1

subscribe(Channel::list() | binary()) -> reference() | {error, term()}

subscribe/2

subscribe(NameOrPid::atom() | pid(), Channel::list() | binary()) -> reference() | {error, term()}

terminate/2

terminate(Reason, State) -> any()


Generated by EDoc