1234567891011121314151617181920 |
- -module(pooler_app).
- -behaviour(application).
- %% Application callbacks
- -export([start/2, stop/1]).
- %% ===================================================================
- %% Application callbacks
- %% ===================================================================
- start(_StartType, _StartArgs) ->
- application:start(crypto),
- case pooler_sup:start_link() of
- {ok, Pid} -> {ok, Pid};
- Other -> {error, Other}
- end.
- stop(_State) ->
- ok.
|