%%-------------------------------------------------------------------
  @copyright   <  >
%% @doc Application behaviour definition.
  @private
%%-------------------------------------------------------------------
-module(ecount_app).
-author("").

-behaviour(application).

-export([start/2, stop/1]).

-spec start(application:start_type(), term()) -> {ok, pid()} | {'error', Reason :: term()}.
start(_StartType, _StartArgs) ->
    ecount_sup:start_link().

-spec stop(State :: term()) -> ok.
stop(_State) ->
    ok.

-------------------------------------------------------------------
 @doc Application behaviour definition.
-------------------------------------------------------------------
  @copyright   <  >
  @private
-module(ecount_app).
-author("").

-behaviour(application).

-export([start/2, stop/1]).

-spec start(application:start_type(), term()) -> {ok, pid()} | {'error', Reason :: term()}.
start(_StartType, _StartArgs) ->
    ecount_sup:start_link().

-spec stop(State :: term()) -> ok.
stop(_State) ->
    ok.
