Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/WireGuard/wireguard-go
/ LocalAddr
Method
LocalAddr
tun/netstack/tun.go:389–391 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
387
}
388
389
func
(pc *PingConn) LocalAddr() net.Addr {
390
return
pc.laddr
391
}
392
393
func
(pc *PingConn) RemoteAddr() net.Addr {
394
return
pc.raddr
Callers
2
listenNet
Function · 0.45
Send
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected