Module eredis_client

Behaviours: gen_server.

Function Index

code_change/3
do_sync_command/2 Executes the given command synchronously, expects Redis to return "+OK\r\n", otherwise it will fail.
handle_call/3
handle_cast/2
handle_info/2
init/1
select_database/2
start_link/7
stop/1
terminate/2

Function Details

code_change/3

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

do_sync_command/2

do_sync_command(Socket, Command) -> any()

Executes the given command synchronously, expects Redis to return "+OK\r\n", otherwise it will fail.

handle_call/3

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

handle_cast/2

handle_cast(Msg, State) -> any()

handle_info/2

handle_info(Info, State) -> any()

init/1

init(X1) -> any()

select_database/2

select_database(Socket, Database) -> any()

start_link/7

start_link(Host::list(), Port::integer(), Database::integer() | undefined, Password::string(), ReconnectSleep::reconnect_sleep(), ConnectTimeout::integer() | undefined, SocketOptions::list()) -> {ok, Pid::pid()} | {error, Reason::term()}

stop/1

stop(Pid) -> any()

terminate/2

terminate(Reason, State) -> any()


Generated by EDoc