formatting fixes
This commit is contained in:
parent
929707ce97
commit
e6bc8b99b9
@ -12,12 +12,12 @@ type Configuration struct {
|
||||
type Host struct {
|
||||
InterfaceName string
|
||||
|
||||
Crypto string `validate:"required,oneof=None Blake2s"`
|
||||
Crypto string `validate:"required,oneof=None Blake2s"`
|
||||
SharedKey string `validate:"required_if=Crypto Blake2s"`
|
||||
}
|
||||
|
||||
type Peer struct {
|
||||
Method string `validate:"oneof=TCP UDP"`
|
||||
Method string `validate:"oneof=TCP UDP"`
|
||||
|
||||
LocalHost string `validate:"omitempty,ip"`
|
||||
LocalPort uint `validate:"max=65535"`
|
||||
|
Loading…
Reference in New Issue
Block a user