ggs_server needs start_link/0 and start_link/1 to function
This commit is contained in:
parent
ea4fdfc362
commit
386e386ecf
3 changed files with 3 additions and 3 deletions
Binary file not shown.
Binary file not shown.
|
@ -10,7 +10,7 @@
|
||||||
-import(ggs_network).
|
-import(ggs_network).
|
||||||
|
|
||||||
%% API
|
%% API
|
||||||
-export([start/0, start/1, stop/0 ]).
|
-export([start_link/0, start_link/1, stop/0 ]).
|
||||||
%-export([crash/0, vms/0, hello/0, echo/0]).
|
%-export([crash/0, vms/0, hello/0, echo/0]).
|
||||||
-export([get_count/0]).
|
-export([get_count/0]).
|
||||||
|
|
||||||
|
@ -23,10 +23,10 @@
|
||||||
%% @doc Starts the server
|
%% @doc Starts the server
|
||||||
%% @end
|
%% @end
|
||||||
%%-----------------------------------------------------
|
%%-----------------------------------------------------
|
||||||
start() ->
|
start_link() ->
|
||||||
ggs_network:start_link().
|
ggs_network:start_link().
|
||||||
|
|
||||||
start(Port) ->
|
start_link(Port) ->
|
||||||
ggs_network:start_link(Port).
|
ggs_network:start_link(Port).
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue