Add custom wireguard worker size option

This commit is contained in:
世界
2022-11-07 16:35:15 +08:00
parent 2abbbcfaca
commit a7d33965cd
15 changed files with 87 additions and 78 deletions

View File

@@ -10,6 +10,7 @@ type WireGuardOutboundOptions struct {
PeerPublicKey string `json:"peer_public_key"`
PreSharedKey string `json:"pre_shared_key,omitempty"`
Reserved []uint8 `json:"reserved,omitempty"`
Workers int `json:"workers,omitempty"`
MTU uint32 `json:"mtu,omitempty"`
Network NetworkList `json:"network,omitempty"`
}