MCPcopy
hub / github.com/name5566/leaf / RemoteAddr

Method RemoteAddr

network/tcp_conn.go:103–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101}
102
103func (tcpConn *TCPConn) RemoteAddr() net.Addr {
104 return tcpConn.conn.RemoteAddr()
105}
106
107func (tcpConn *TCPConn) ReadMsg() ([]byte, error) {
108 return tcpConn.msgParser.Read(tcpConn)

Callers

nothing calls this directly

Calls 1

RemoteAddrMethod · 0.65

Tested by

no test coverage detected