mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
25 lines
680 B
Go
25 lines
680 B
Go
package event
|
|
|
|
type EventType int
|
|
|
|
//大于Sys_Event_User_Define给用户定义
|
|
const (
|
|
ServiceRpcRequestEvent EventType = -1
|
|
ServiceRpcResponseEvent EventType = -2
|
|
|
|
Sys_Event_Tcp EventType = -3
|
|
Sys_Event_Http_Event EventType = -4
|
|
Sys_Event_WebSocket EventType = -5
|
|
Sys_Event_Node_Conn_Event EventType = -6
|
|
Sys_Event_Nats_Conn_Event EventType = -7
|
|
Sys_Event_DiscoverService EventType = -8
|
|
Sys_Event_DiscardGoroutine EventType = -9
|
|
Sys_Event_QueueTaskFinish EventType = -10
|
|
Sys_Event_Retire EventType = -11
|
|
Sys_Event_EtcdDiscovery EventType = -12
|
|
Sys_Event_Gin_Event EventType = -13
|
|
|
|
Sys_Event_User_Define EventType = 1
|
|
)
|
|
|