Files
openlan/pkg/schema/openvpn.go
2024-01-09 09:57:52 +08:00

18 lines
484 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"`
User string `json:"user"`
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"`
}