aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-04-18 13:27:42 +0200
committerLoïc Hoguin <[email protected]>2011-04-18 13:27:42 +0200
commitdb7833f5e8f407ad6f61eadc970966c35d030ead (patch)
treee7a9f30dc30589d7733b08af6e737f67522e090d /src
parent2beb5c8206cf33f04ef778ebc67839c1bd71add8 (diff)
downloadcowboy-db7833f5e8f407ad6f61eadc970966c35d030ead.tar.gz
cowboy-db7833f5e8f407ad6f61eadc970966c35d030ead.tar.bz2
cowboy-db7833f5e8f407ad6f61eadc970966c35d030ead.zip
Move the type application_start_type() into cowboy_app.
Diffstat (limited to 'src')
-rw-r--r--src/cowboy_app.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cowboy_app.erl b/src/cowboy_app.erl
index 4f81ff6..b251ff4 100644
--- a/src/cowboy_app.erl
+++ b/src/cowboy_app.erl
@@ -17,6 +17,9 @@
-export([start/2, stop/1]). %% API.
+-type application_start_type() :: normal |
+ {takeover, Node::node()} | {failover, Node::node()}.
+
-include("include/types.hrl").
%% API.