fix
This commit is contained in:
parent
afaccd9330
commit
e7d8f3a5eb
@ -90,7 +90,7 @@ send_event(EventType, Params) when is_integer(EventType), is_binary(Params) ->
|
||||
-spec(start_link(ServiceId :: binary(), Host :: string(), Port :: integer()) ->
|
||||
{ok, Pid :: pid()} | ignore | {error, Reason :: term()}).
|
||||
start_link(ServiceId, Host, Port) when is_binary(ServiceId), is_list(Host), is_integer(Port) ->
|
||||
gen_server:start_link(?MODULE, [ServiceId, Host, Port], []).
|
||||
gen_server:start_link({local, ?MODULE}, ?MODULE, [ServiceId, Host, Port], []).
|
||||
|
||||
%%%===================================================================
|
||||
%%% gen_server callbacks
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user