MCPcopy Create free account
hub / github.com/WireGuard/wgctrl-go / PeerConfig

Struct PeerConfig

wgtypes/types.go:241–276  ·  view source on GitHub ↗

TODO(mdlayher): consider adding ProtocolVersion in PeerConfig. A PeerConfig is a WireGuard device peer configuration. Because the zero value of some Go types may be significant to WireGuard for PeerConfig fields, pointer types are used for some of these fields. Only pointer fields which are not nil

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected