Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PasarGuard/node
/ LinkAdd
Method
LinkAdd
backend/wireguard/manager.go:35–37 ·
view source on GitHub ↗
(link netlink.Link)
Source
from the content-addressed store, hash-verified
33
}
34
35
func
(defaultNetlinkOps) LinkAdd(link netlink.Link) error {
36
return
netlink.LinkAdd(link)
37
}
38
39
func
(defaultNetlinkOps) LinkByName(name string) (netlink.Link, error) {
40
return
netlink.LinkByName(name)
Callers
nothing calls this directly
Calls
1
LinkAdd
Method · 0.65
Tested by
no test coverage detected