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.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cowboy_app.erl b/src/cowboy_app.erl
index 702d9ce..91f9818 100644
--- a/src/cowboy_app.erl
+++ b/src/cowboy_app.erl
@@ -17,15 +17,15 @@
-export([start/2, stop/1]). %% API.
--type application_start_type() :: normal |
- {takeover, Node::node()} | {failover, Node::node()}.
+-type application_start_type() :: normal
+ | {takeover, node()} | {failover, node()}.
%% API.
--spec start(Type::application_start_type(), Args::term()) -> {ok, Pid::pid()}.
+-spec start(application_start_type(), any()) -> {ok, pid()}.
start(_Type, _Args) ->
cowboy_sup:start_link().
--spec stop(State::term()) -> ok.
+-spec stop(any()) -> ok.
stop(_State) ->
ok.