aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_app.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_app.erl')
-rw-r--r--src/cowboy_app.erl10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/cowboy_app.erl b/src/cowboy_app.erl
index d4d0389..1161d91 100644
--- a/src/cowboy_app.erl
+++ b/src/cowboy_app.erl
@@ -12,18 +12,16 @@
%% ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
%% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-%% @private
-module(cowboy_app).
-behaviour(application).
-%% API.
-export([start/2]).
-export([stop/1]).
-%% API.
-
-start(_Type, _Args) ->
+-spec start(_, _) -> {ok, pid()}.
+start(_, _) ->
cowboy_sup:start_link().
-stop(_State) ->
+-spec stop(_) -> ok.
+stop(_) ->
ok.