parent
4a9089b099
commit
bb0b23bff4
|
@ -80,6 +80,11 @@ type Software struct {
|
|||
StatusPage *struct {
|
||||
API int `json:"api"`
|
||||
} `json:"status-page,omitempty"`
|
||||
WireGuard *struct {
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
PublicKey string `json:"public_key,omitempty"`
|
||||
Version string `json:"version,omitempty"`
|
||||
} `json:"wireguard,omitempty"`
|
||||
}
|
||||
|
||||
// Hardware struct
|
||||
|
|
|
@ -18,6 +18,11 @@
|
|||
},
|
||||
"status-page": {
|
||||
"api": 1
|
||||
},
|
||||
"wireguard": {
|
||||
"enabled": true,
|
||||
"public_key": "0000000000000000000000000000000000000000000=",
|
||||
"version": "1.0.20210124"
|
||||
}
|
||||
},
|
||||
"network": {
|
||||
|
|
Loading…
Reference in New Issue