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

Function parseKey

internal/wglinux/parse_linux.go:181–191  ·  view source on GitHub ↗

parseKey parses a wgtypes.Key from a byte slice.

(key *wgtypes.Key)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

parseDeviceLoopFunction · 0.85
parsePeerFunction · 0.85

Calls 1

NewKeyFunction · 0.92

Tested by

no test coverage detected