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

Function ParseKey

wgtypes/types.go:125–132  ·  view source on GitHub ↗

ParseKey parses a Key from a base64-encoded string, as produced by the Key.String method.

(s string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestPreparedKeysFunction · 0.92
TestBadKeysFunction · 0.92

Calls 1

NewKeyFunction · 0.85

Tested by 2

TestPreparedKeysFunction · 0.74
TestBadKeysFunction · 0.74