You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
766 B

10 years ago
10 years ago
10 years ago
  1. %%%-------------------------------------------------------------------
  2. %% @doc {{name}} public API
  3. %% @end
  4. %%%-------------------------------------------------------------------
  5. -module({{name}}_app).
  6. -behaviour(application).
  7. %% Application callbacks
  8. -export([start/2
  9. ,stop/1]).
  10. %%====================================================================
  11. %% API
  12. %%====================================================================
  13. start(_StartType, _StartArgs) ->
  14. {{name}}_sup:start_link().
  15. %%--------------------------------------------------------------------
  16. stop(_State) ->
  17. ok.
  18. %%====================================================================
  19. %% Internal functions
  20. %%====================================================================