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

Function parseDevice

internal/wguser/parse.go:48–72  ·  view source on GitHub ↗

parseDevice parses a Device and its Peers from an io.Reader.

(r io.Reader)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getDeviceMethod · 0.70

Calls 2

ParseMethod · 0.95
DeviceMethod · 0.95

Tested by

no test coverage detected