Copyright © (C) 2017, tkyshm
Behaviours: gen_server.
Authors: tkyshm.
generate_id/1 | |
generate_ids/2 | |
start_link/2 | Starts the server. |
generate_id(Pid::pid()) -> integer() | {err_clock_backwards, term()}
generate_ids(Pid::pid(), Num::integer()) -> [integer()] | {err_clock_backwards, term()}
start_link(Id, IsRedis) -> {ok, Pid} | ignore | {error, Error}
Starts the server
Generated by EDoc