Module cowboy_clock

Behaviours: gen_server.

Function Index

code_change/3
handle_call/3
handle_cast/2
handle_info/2
init/1
rfc1123/0
rfc1123/1
start_link/0
stop/0
terminate/2

Function Details

code_change/3

code_change(OldVsn::term(), State, Extra::term()) -> {ok, State}

handle_call/3

handle_call(Request::any(), From::term(), State) -> {reply, ignored, State} | {stop, normal, stopped, State}

handle_cast/2

handle_cast(Msg::term(), State) -> {noreply, State}

handle_info/2

handle_info(Info::any(), State) -> {noreply, State}

init/1

init(X1::[]) -> {ok, #state{universaltime = undefined | calendar:datetime(), rfc1123 = binary(), tref = undefined | timer:tref()}}

rfc1123/0

rfc1123() -> binary()

rfc1123/1

rfc1123(DateTime::calendar:datetime()) -> binary()

start_link/0

start_link() -> {ok, pid()}

stop/0

stop() -> stopped

terminate/2

terminate(Reason::term(), State::term()) -> ok


Generated by EDoc, Aug 2 2016, 12:11:23.