MCPcopy
hub / github.com/XTLS/REALITY / LocalAddr

Method LocalAddr

conn.go:135–137  ·  view source on GitHub ↗

Access to net.Conn methods. Cannot just embed net.Conn because that would export the struct field too. LocalAddr returns the local network address.

()

Source from the content-addressed store, hash-verified

133
134// LocalAddr returns the local network address.
135func (c *Conn) LocalAddr() net.Addr {
136 return c.conn.LocalAddr()
137}
138
139// RemoteAddr returns the remote network address.
140func (c *Conn) RemoteAddr() net.Addr {

Callers 2

ServerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected