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

Function buildWGUser

backend/wireguard/integration_e2e_test.go:234–236  ·  view source on GitHub ↗
(email, publicKey, peerIP, iface string, includeInterface bool)

Source from the content-addressed store, hash-verified

232}
233
234func buildWGUser(email, publicKey, peerIP, iface string, includeInterface bool) *common.User {
235 return buildWGUserWithPeerIPs(email, publicKey, []string{peerIP}, iface, includeInterface)
236}
237
238func buildWGUserWithPeerIPs(email, publicKey string, peerIPs []string, iface string, includeInterface bool) *common.User {
239 inbounds := []string{}

Calls 1

buildWGUserWithPeerIPsFunction · 0.85

Tested by

no test coverage detected