Files
openlan/pkg/schema/access.go
Daniel Ding 2499efb9cf
Some checks failed
Coverage CI / build (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
Ubuntu CI / build (push) Has been cancelled
fix: access statis dont list.
2025-05-26 16:40:04 +08:00

21 lines
761 B
Go
Executable File

package schema
type Access 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"`
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 string `json:"address"`
Names map[string]string `json:"names"`
}