diff options
Diffstat (limited to 'src/ranch_app.erl')
-rw-r--r-- | src/ranch_app.erl | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/ranch_app.erl b/src/ranch_app.erl index 0dc687c..2402de6 100644 --- a/src/ranch_app.erl +++ b/src/ranch_app.erl @@ -16,20 +16,18 @@ -module(ranch_app). -behaviour(application). --export([start/2, stop/1, profile_output/0]). %% API. - --type application_start_type() :: normal - | {takeover, node()} | {failover, node()}. +%% API. +-export([start/2]). +-export([stop/1]). +-export([profile_output/0]). %% API. --spec start(application_start_type(), any()) -> {ok, pid()}. -start(_Type, _Args) -> +start(_, _) -> consider_profiling(), ranch_sup:start_link(). --spec stop(any()) -> ok. -stop(_State) -> +stop(_) -> ok. -spec profile_output() -> ok. |