MCPcopy Create free account
hub / github.com/PasarGuard/node / startWGHTTPServer

Function startWGHTTPServer

backend/wireguard/integration_e2e_test.go:217–223  ·  view source on GitHub ↗
(t *testing.T, wg *WireGuard)

Source from the content-addressed store, hash-verified

215}
216
217func startWGHTTPServer(t *testing.T, wg *WireGuard) (url string, serverIP string) {
218 t.Helper()
219
220 serverIP = wireGuardServerIP(t, wg)
221 url = startWGHTTPServerAtIP(t, serverIP)
222 return url, serverIP
223}
224
225func mustGeneratePrivateKey(t *testing.T) string {
226 t.Helper()

Calls 2

wireGuardServerIPFunction · 0.85
startWGHTTPServerAtIPFunction · 0.85

Tested by

no test coverage detected