merge develop into master #21

Merged
JakeHillion merged 149 commits from develop into master 2021-05-12 00:22:59 +01:00
Showing only changes of commit e6bc8b99b9 - Show all commits

View File

@ -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"`