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

Method ConfigureDevice

client.go:87–101  ·  view source on GitHub ↗

ConfigureDevice configures a WireGuard device by its interface name. Because the zero value of some Go types may be significant to WireGuard for Config fields, only fields which are not nil will be applied when configuring a device. If the device specified by name does not exist or is not a WireGu

(name string, cfg wgtypes.Config)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 1

ConfigureDeviceMethod · 0.65

Tested by 1