mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Move the type application_start_type() into cowboy_app.
This commit is contained in:
parent
2beb5c8206
commit
db7833f5e8
2 changed files with 3 additions and 3 deletions
|
@ -12,8 +12,5 @@
|
||||||
%% ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
%% ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
%% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
%% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
-type application_start_type() :: normal |
|
|
||||||
{takeover, Node::node()} | {failover, Node::node()}.
|
|
||||||
|
|
||||||
-type posix() :: atom().
|
-type posix() :: atom().
|
||||||
-type port_number() :: 0..65535.
|
-type port_number() :: 0..65535.
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
|
|
||||||
-export([start/2, stop/1]). %% API.
|
-export([start/2, stop/1]). %% API.
|
||||||
|
|
||||||
|
-type application_start_type() :: normal |
|
||||||
|
{takeover, Node::node()} | {failover, Node::node()}.
|
||||||
|
|
||||||
-include("include/types.hrl").
|
-include("include/types.hrl").
|
||||||
|
|
||||||
%% API.
|
%% API.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue