blob: 5d67787b00e3f1b3aaa777e65359aeeff9b31e49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
%% @author Bob Ippolito <bob@mochimedia.com>
%% @copyright 2007 Mochi Media, Inc.
%% @doc Callbacks for the mochiweb application.
-module(mochiweb_app).
-author('bob@mochimedia.com').
-behaviour(application).
-export([start/2,stop/1]).
%% @spec start(_Type, _StartArgs) -> ServerRet
%% @doc application start callback for mochiweb.
start(_Type, _StartArgs) ->
mochiweb_sup:start_link().
%% @spec stop(_State) -> ServerRet
%% @doc application stop callback for mochiweb.
stop(_State) ->
ok.
%%
%% Tests
%%
-include_lib("eunit/include/eunit.hrl").
-ifdef(TEST).
-endif.
|