merge develop into master #21
@ -24,7 +24,7 @@ type Peer struct {
|
|||||||
RemoteHost string `validate:"required_with=RemotePort,omitempty,fqdn|ip"`
|
RemoteHost string `validate:"required_with=RemotePort,omitempty,fqdn|ip"`
|
||||||
RemotePort uint `validate:"required_with=RemoteHost,omitempty,max=65535"`
|
RemotePort uint `validate:"required_with=RemoteHost,omitempty,max=65535"`
|
||||||
|
|
||||||
Congestion string `validate:"oneof=NewReno None"`
|
Congestion string `validate:"required_unless=Method TCP,omitempty,oneof=NewReno None"`
|
||||||
|
|
||||||
KeepAlive uint
|
KeepAlive uint
|
||||||
Timeout uint
|
Timeout uint
|
||||||
|
Loading…
Reference in New Issue
Block a user