mirror of
https://github.com/speatzle/nfsense.git
synced 2025-09-13 15:19:08 +00:00
Remove old, broken Validation
This commit is contained in:
parent
e12a1fe16f
commit
f67ec52fae
13 changed files with 39 additions and 64 deletions
|
@ -1,5 +1,5 @@
|
|||
package vpn
|
||||
|
||||
type VPN struct {
|
||||
Wireguard Wireguard `json:"wireguard" validate:"required,dive"`
|
||||
Wireguard Wireguard `json:"wireguard"`
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package vpn
|
||||
|
||||
type Wireguard struct {
|
||||
Interfaces map[string]WireguardInterface `json:"interfaces" validate:"required,dive"`
|
||||
Peers map[string]WireguardPeer `json:"peers" validate:"required,dive"`
|
||||
Interfaces map[string]WireguardInterface `json:"interfaces"`
|
||||
Peers map[string]WireguardPeer `json:"peers"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue