PageRenderTime 102ms CodeModel.GetById 60ms app.highlight 2ms RepoModel.GetById 39ms app.codeStats 0ms

/src/mochiweb_app.erl

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