github.com/sagernet/sing-box@v1.2.7/option/wireguard.go (about) 1 package option 2 3 type WireGuardOutboundOptions struct { 4 DialerOptions 5 ServerOptions 6 SystemInterface bool `json:"system_interface,omitempty"` 7 InterfaceName string `json:"interface_name,omitempty"` 8 LocalAddress Listable[ListenPrefix] `json:"local_address"` 9 PrivateKey string `json:"private_key"` 10 PeerPublicKey string `json:"peer_public_key"` 11 PreSharedKey string `json:"pre_shared_key,omitempty"` 12 Reserved []uint8 `json:"reserved,omitempty"` 13 Workers int `json:"workers,omitempty"` 14 MTU uint32 `json:"mtu,omitempty"` 15 Network NetworkList `json:"network,omitempty"` 16 }