提交origin2.0版本

This commit is contained in:
duanhf2012
2020-03-28 09:57:16 +08:00
parent 0d98f77d07
commit 84fb8ab36d
111 changed files with 3657 additions and 8382 deletions

14
event/eventtype.go Normal file
View File

@@ -0,0 +1,14 @@
package event
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_User_Define EventType = 1000
)