mirror of
https://github.com/luscis/openlan.git
synced 2025-10-05 16:47:11 +08:00
18 lines
481 B
Go
Executable File
18 lines
481 B
Go
Executable File
package schema
|
|
|
|
type Link struct {
|
|
Uptime int64 `json:"uptime"`
|
|
UUID string `json:"uuid"`
|
|
Alias string `json:"alias"`
|
|
Network string `json:"network"`
|
|
User string `json:"user"`
|
|
Protocol string `json:"protocol"`
|
|
Server string `json:"server"`
|
|
Device string `json:"device"`
|
|
RxBytes uint64 `json:"rxBytes"`
|
|
TxBytes uint64 `json:"txBytes"`
|
|
ErrPkt uint64 `json:"errors"`
|
|
State string `json:"state"`
|
|
AliveTime int64 `json:"aliveTime"`
|
|
}
|