big refactor and testing
This commit is contained in:
parent
a2ed11b2fb
commit
d6b1b90034
26 changed files with 908 additions and 70 deletions
10
agent/events/structs.go
Normal file
10
agent/events/structs.go
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
package events
|
||||
|
||||
type EventLogMsg struct {
|
||||
Source string `json:"source"`
|
||||
EventType string `json:"eventType"`
|
||||
EventID uint32 `json:"eventID"`
|
||||
Message string `json:"message"`
|
||||
Time string `json:"time"`
|
||||
UID int `json:"uid"` // for vue
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue