21 lines
509 B
Erlang
21 lines
509 B
Erlang
%% @author Andy Gross <andy@basho.com>
|
|
%% @author Justin Sheehy <justin@basho.com>
|
|
|
|
%% @doc Callbacks for the webmachine_demo application.
|
|
|
|
-module(webmachine_demo_app).
|
|
|
|
-behaviour(application).
|
|
-export([start/2,stop/1]).
|
|
|
|
|
|
%% @spec start(_Type, _StartArgs) -> ServerRet
|
|
%% @doc application start callback for webmachine_demo.
|
|
start(_Type, _StartArgs) ->
|
|
webmachine_demo_sup:start_link().
|
|
|
|
%% @spec stop(_State) -> ServerRet
|
|
%% @doc application stop callback for webmachine_demo.
|
|
stop(_State) ->
|
|
ok.
|