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

Function buildRemoveConfig

backend/wireguard/user_common.go:32–34  ·  view source on GitHub ↗
(publicKey wgtypes.Key)

Source from the content-addressed store, hash-verified

30}
31
32func buildRemoveConfig(publicKey wgtypes.Key) wgtypes.PeerConfig {
33 return wgtypes.PeerConfig{PublicKey: publicKey, Remove: true}
34}
35
36type DesiredPeer struct {
37 Email string

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected