fea: add statics for output

This commit is contained in:
Daniel Ding
2024-01-08 20:56:21 +08:00
parent 53dcac37f9
commit c542a184cc
20 changed files with 268 additions and 63 deletions

13
pkg/schema/output.go Normal file
View File

@@ -0,0 +1,13 @@
package schema
type Output struct {
Network string `json:"network"`
Protocol string `json:"protocol"`
Connection string `json:"connection"`
Vlan int `json:"vlan"`
Device string `json:"device"`
RxBytes uint64 `json:"rxBytes"`
TxBytes uint64 `json:"txBytes"`
ErrPkt uint64 `json:"errors"`
AliveTime int64 `json:"aliveTime"`
}