Files
openlan/pkg/schema/point.go
2024-01-08 20:56:21 +08:00

21 lines
611 B
Go
Executable File

package schema
type Point struct {
Uptime int64 `json:"uptime"`
UUID string `json:"uuid"`
Network string `json:"network"`
User string `json:"user"`
Alias string `json:"alias"`
Protocol string `json:"protocol"`
Remote string `json:"remote"`
Switch string `json:"switch,omitempty"`
Device string `json:"device"`
RxBytes uint64 `json:"rxBytes"`
TxBytes uint64 `json:"txBytes"`
ErrPkt uint64 `json:"errors"`
State string `json:"state"`
AliveTime int64 `json:"aliveTime"`
System string `json:"system"`
Address Network `json:"address"`
}