MCPcopy
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
389func (pc *PingConn) LocalAddr() net.Addr {
390 return pc.laddr
391}
392
393func (pc *PingConn) RemoteAddr() net.Addr {
394 return pc.raddr

Callers 2

listenNetFunction · 0.45
SendMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected