sing-box/option/wireguard.go

13 lines
432 B
Go
Raw Normal View History

2022-08-16 15:37:51 +00:00
package option
type WireGuardOutboundOptions struct {
2022-09-03 04:55:10 +00:00
DialerOptions
2022-08-16 15:37:51 +00:00
ServerOptions
LocalAddress Listable[string] `json:"local_address"`
PrivateKey string `json:"private_key"`
PeerPublicKey string `json:"peer_public_key"`
PreSharedKey string `json:"pre_shared_key,omitempty"`
MTU uint32 `json:"mtu,omitempty"`
Network NetworkList `json:"network,omitempty"`
}