Files
openlan/pkg/schema/openvpn.go
Daniel Ding 755e721bfd
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: support add client for openvpn.
2025-10-21 15:03:23 +08:00

18 lines
486 B
Go
Executable File

package schema
type VPNClient struct {
Uptime int64 `json:"uptime"`
Name string `json:"name"`
UUID string `json:"uuid"`
Network string `json:"network"`
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"`
Address string `json:"address"`
System string `json:"system"`
}