aboutsummaryrefslogtreecommitdiff
path: root/server/src/jchat_push.erl
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/jchat_push.erl')
-rw-r--r--server/src/jchat_push.erl19
1 files changed, 19 insertions, 0 deletions
diff --git a/server/src/jchat_push.erl b/server/src/jchat_push.erl
new file mode 100644
index 0000000..2ab8b9d
--- /dev/null
+++ b/server/src/jchat_push.erl
@@ -0,0 +1,19 @@
+-module(jchat_push).
+-export([start_link/0, init/1, handle_call/3, handle_cast/2, handle_info/2]).
+
+-behaviour(gen_server).
+
+start_link() ->
+ gen_server:start_link({local, ?MODULE}, ?MODULE, [], []).
+
+init([]) ->
+ {ok, #{}}.
+
+handle_call(_Request, _From, State) ->
+ {reply, ok, State}.
+
+handle_cast(_Request, State) ->
+ {noreply, State}.
+
+handle_info(_Info, State) ->
+ {noreply, State}.