合并Service中的Event、RpcResponse、RpcRequest管道

This commit is contained in:
duanhf2012
2021-07-20 14:35:30 +08:00
parent c9f47d796c
commit a6ea25bba0
8 changed files with 215 additions and 169 deletions

View File

@@ -4,10 +4,14 @@ type EventType int
//大于Sys_Event_User_Define给用户定义
const (
Sys_Event_Tcp EventType = 1
Sys_Event_Http_Event EventType = 2
Sys_Event_WebSocket EventType = 3
Sys_Event_Rpc_Event EventType = 4
Sys_Event_User_Define EventType = 1000
ServiceRpcRequestEvent EventType = -1
ServiceRpcResponseEvent EventType = -2
Sys_Event_Tcp EventType = -3
Sys_Event_Http_Event EventType = -4
Sys_Event_WebSocket EventType = -5
Sys_Event_Rpc_Event EventType = -6
Sys_Event_User_Define EventType = 1
)