This commit is contained in:
anlicheng 2026-04-26 15:47:27 +08:00
parent 0dfd282872
commit 30069648a1
2 changed files with 8 additions and 21 deletions

View File

@ -1,20 +0,0 @@
%%%-------------------------------------------------------------------
%%% @author anlicheng
%%% @copyright (C) 2025, <COMPANY>
%%% @doc
%%%
%%% @end
%%%-------------------------------------------------------------------
-author("anlicheng").
%%
%% REQUEST:
%% RESPONSE: REQUEST
%% CAST:
-define(FRAME_REQUEST, 16#01).
-define(FRAME_REPLY, 16#02).
-define(FRAME_CAST, 16#03).
%%%% ,
%%
-define(COMMAND_AUTH, 16#08).

View File

@ -9,9 +9,16 @@
-module(service_channel).
-author("licheng5").
-include("efka_tables.hrl").
-include("protocol.hrl").
-include("service_pb.hrl").
%%
%% REQUEST:
%% RESPONSE: REQUEST
%% CAST:
-define(FRAME_REQUEST, 16#01).
-define(FRAME_REPLY, 16#02).
-define(FRAME_CAST, 16#03).
%% API
-export([init/2]).
-export([websocket_init/1, websocket_handle/2, websocket_info/2, terminate/3]).