wireguard.go 440 B

123456789101112
  1. package option
  2. type WireGuardOutboundOptions struct {
  3. OutboundDialerOptions
  4. ServerOptions
  5. LocalAddress Listable[string] `json:"local_address"`
  6. PrivateKey string `json:"private_key"`
  7. PeerPublicKey string `json:"peer_public_key"`
  8. PreSharedKey string `json:"pre_shared_key,omitempty"`
  9. MTU uint32 `json:"mtu,omitempty"`
  10. Network NetworkList `json:"network,omitempty"`
  11. }