summaryrefslogtreecommitdiff
path: root/priv/templates/simplesrv.erl
diff options
context:
space:
mode:
Diffstat (limited to 'priv/templates/simplesrv.erl')
-rw-r--r--priv/templates/simplesrv.erl17
1 files changed, 9 insertions, 8 deletions
diff --git a/priv/templates/simplesrv.erl b/priv/templates/simplesrv.erl
index 8db932e..a4ab77a 100644
--- a/priv/templates/simplesrv.erl
+++ b/priv/templates/simplesrv.erl
@@ -12,36 +12,37 @@
%% gen_server Function Exports
%% ------------------------------------------------------------------
--export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]).
+-export([init/1, handle_call/3, handle_cast/2, handle_info/2,
+ terminate/2, code_change/3]).
%% ------------------------------------------------------------------
%% API Function Definitions
%% ------------------------------------------------------------------
start_link() ->
- gen_server:start_link({local, ?SERVER}, ?MODULE, [], []).
+ gen_server:start_link({local, ?SERVER}, ?MODULE, [], []).
%% ------------------------------------------------------------------
%% gen_server Function Definitions
%% ------------------------------------------------------------------
init(Args) ->
- {ok, Args}.
+ {ok, Args}.
handle_call(_Request, _From, State) ->
- {noreply, ok, State}.
+ {noreply, ok, State}.
handle_cast(_Msg, State) ->
- {noreply, State}.
+ {noreply, State}.
handle_info(_Info, State) ->
- {noreply, State}.
+ {noreply, State}.
terminate(_Reason, _State) ->
- ok.
+ ok.
code_change(_OldVsn, State, _Extra) ->
- {ok, State}.
+ {ok, State}.
%% ------------------------------------------------------------------
%% Internal Function Definitions