Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PasarGuard/node
/ ConfigureDevice
Method
ConfigureDevice
backend/wireguard/manager.go:15–15 ·
view source on GitHub ↗
(name string, cfg wgtypes.Config)
Source
from the content-addressed store, hash-verified
13
14
type
wgClient
interface
{
15
ConfigureDevice(name string, cfg wgtypes.Config) error
16
Device(name string) (*wgtypes.Device, error)
17
Close() error
18
}
Callers
3
defaultConfigureDevice
Function · 0.65
ApplyPeers
Method · 0.65
ApplyPeersReplaceAll
Method · 0.65
Implementers
1
fakeWGClient
backend/wireguard/manager_test.go
Calls
no outgoing calls
Tested by
no test coverage detected