mirror of
https://github.com/luscis/openlan.git
synced 2025-10-12 20:10:08 +08:00
fix: format output parameters
This commit is contained in:
@@ -1,13 +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"`
|
||||
Network string `json:"network"`
|
||||
Protocol string `json:"protocol"`
|
||||
Remote string `json:"Remote"`
|
||||
Segment int `json:"segment"`
|
||||
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