mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-26 16:35:38 +08:00
17 lines
765 B
Go
17 lines
765 B
Go
package option
|
|
|
|
type WireGuardOutboundOptions struct {
|
|
DialerOptions
|
|
ServerOptions
|
|
SystemInterface bool `json:"system_interface,omitempty"`
|
|
InterfaceName string `json:"interface_name,omitempty"`
|
|
LocalAddress Listable[ListenPrefix] `json:"local_address"`
|
|
PrivateKey string `json:"private_key"`
|
|
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"`
|
|
}
|