Files
openlan/pkg/schema/link.go
Daniel Ding 80ea5c26b4
Some checks failed
Coverage CI / build (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
Ubuntu CI / build (push) Has been cancelled
fea: fallback for output.
2025-08-29 10:43:14 +08:00

18 lines
491 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,omitempty"`
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"`
}