新增服务间事件通知机制

This commit is contained in:
duanhf2012
2020-04-20 15:38:42 +08:00
parent 990fec396a
commit 742ffc410e
10 changed files with 311 additions and 123 deletions

View File

@@ -4,11 +4,8 @@ type EventType int
//大于Sys_Event_User_Define给用户定义
const (
Sys_Event_Tcp_Connected EventType= 1
Sys_Event_Tcp_DisConnected EventType= 2
Sys_Event_Tcp_RecvPack EventType = 3
Sys_Event_Tcp_PackException EventType = 4
Sys_Event_Http_Event EventType = 5
Sys_Event_Tcp EventType = 5
Sys_Event_Http_Event EventType = 4
Sys_Event_User_Define EventType = 1000
)