mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 04:17:36 +03:00
Add UDP timeout route option
This commit is contained in:
parent
c4b6d0eadb
commit
1d2720bf5e
14 changed files with 155 additions and 239 deletions
|
@ -14,7 +14,7 @@ type WireGuardEndpointOptions struct {
|
|||
PrivateKey string `json:"private_key"`
|
||||
ListenPort uint16 `json:"listen_port,omitempty"`
|
||||
Peers []WireGuardPeer `json:"peers,omitempty"`
|
||||
UDPTimeout UDPTimeoutCompat `json:"udp_timeout,omitempty"`
|
||||
UDPTimeout badoption.Duration `json:"udp_timeout,omitempty"`
|
||||
Workers int `json:"workers,omitempty"`
|
||||
DialerOptions
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue