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

Function initClient

internal/wglinux/client_linux.go:50–70  ·  view source on GitHub ↗

initClient is the internal Client constructor used in some tests.

(c *genetlink.Conn)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

Test_initClientNotExistFunction · 0.85
testClientFunction · 0.85
NewFunction · 0.85

Calls 1

CloseMethod · 0.45

Tested by 2

Test_initClientNotExistFunction · 0.68
testClientFunction · 0.68