MCPcopy Index your code
hub / github.com/tailscale/tailscale / RemoteAddr

Method RemoteAddr

ssh/tailssh/session.go:97–99  ·  view source on GitHub ↗

RemoteAddr returns the net.Addr of the client side of the connection.

()

Source from the content-addressed store, hash-verified

95
96// RemoteAddr returns the net.Addr of the client side of the connection.
97func (s *Session) RemoteAddr() net.Addr {
98 return s.sess.RemoteAddr()
99}
100
101// LocalAddr returns the net.Addr of the server side of the connection.
102func (s *Session) LocalAddr() net.Addr {

Callers

nothing calls this directly

Calls 1

RemoteAddrMethod · 0.65

Tested by

no test coverage detected