aboutsummaryrefslogtreecommitdiff
path: root/server/src/jchat_push.erl
diff options
context:
space:
mode:
authorCalvin Morrison <calvin@pobox.com>2025-09-03 21:15:36 -0400
committerCalvin Morrison <calvin@pobox.com>2025-09-03 21:15:36 -0400
commit49fa5aa2a127bdf8924d02bf77e5086b39c7a447 (patch)
tree61d86a7705dacc9fddccc29fa79d075d83ab8059 /server/src/jchat_push.erl
i vibe coded itHEADmaster
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}.