-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmessage.go
26 lines (24 loc) · 1.17 KB
/
message.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package nmc_message_client
type MonitorMessage struct {
Source string `json:"source"`
MessageType string `json:"type"`
Status string `json:"status"`
DateTime int64 `json:"datetime,omitempty"`
FileName string `json:"fileName"`
AbsoluteDataName string `json:"absoluteDataName,omitempty"`
Description string `json:"desc,omitempty"`
}
type MonitorMessageV2 struct {
Topic string `json:"topic"`
Source string `json:"source"`
SourceIP string `json:"sourceIP"`
MessageType string `json:"type"`
PID string `json:"PID"`
ID string `json:"ID"`
DateTime string `json:"datetime,omitempty"`
FileNames string `json:"fileNames"`
AbsoluteDataName string `json:"absoluteDataName,omitempty"`
FileSizes string `json:"fileSizes"`
Result int8 `json:"result"`
ResultDescription ProbGribMessageDescription `json:"resultDesc"`
}