MCPcopy
hub / github.com/gliderlabs/ssh / RemoteAddr

Method RemoteAddr

session.go:29–29  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

27
28 // RemoteAddr returns the net.Addr of the client side of the connection.
29 RemoteAddr() net.Addr
30
31 // LocalAddr returns the net.Addr of the server side of the connection.
32 LocalAddr() net.Addr

Callers 2

HandleSSHRequestMethod · 0.65
RemoteAddrMethod · 0.65

Implementers 1

sessionsession.go

Calls

no outgoing calls

Tested by

no test coverage detected