eventmsg.go 520 B

12345678910111213141516
  1. package model
  2. // EventMessage event from bigdata def.
  3. type EventMessage struct {
  4. Time int64 `json:"time"`
  5. IP string `json:"ip"`
  6. Service string `json:"service"`
  7. Event string `json:"event"`
  8. ActiveMid int64 `json:"active_mid"`
  9. TargetMid int64 `json:"target_mid"`
  10. TargetID int64 `json:"target_id"`
  11. Args interface{} `json:"args"`
  12. Result string `json:"result"`
  13. Effect string `json:"effect"`
  14. RiskLevel int8 `json:"risk_level"`
  15. }