Add custom wireguard worker size option

This commit is contained in:
世界
2022-11-08 13:48:14 +08:00
parent 1f63ce5dee
commit 999a847e86
15 changed files with 87 additions and 78 deletions
+1
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"`
}