mirror of
https://github.com/luscis/openlan.git
synced 2025-09-26 20:41:29 +08:00
24 lines
560 B
Go
Executable File
24 lines
560 B
Go
Executable File
package schema
|
|
|
|
type Index struct {
|
|
Version Version `json:"version"`
|
|
Worker Worker `json:"worker"`
|
|
Access []Access `json:"access"`
|
|
Links []Link `json:"links"`
|
|
Neighbors []Neighbor `json:"neighbors"`
|
|
OnLines []OnLine `json:"online"`
|
|
Network []Network `json:"network"`
|
|
Clients []VPNClient `json:"clients"`
|
|
Outputs []Output `json:"output"`
|
|
}
|
|
|
|
type Ctrl struct {
|
|
Url string `json:"url"`
|
|
Token string `json:"token"`
|
|
}
|
|
|
|
type Message struct {
|
|
Code int `json:"code"`
|
|
Message string `json:"message"`
|
|
}
|