mirror of
https://github.com/luscis/openlan.git
synced 2025-10-30 12:06:21 +08:00
fea: add statics for output
This commit is contained in:
13
pkg/schema/output.go
Normal file
13
pkg/schema/output.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user