MCPcopy
hub / github.com/MetaCubeX/mihomo / relayPacketConn

Struct relayPacketConn

transport/gost/relay.go:285–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285type relayPacketConn struct {
286 conn net.Conn
287 raddr net.Addr
288 wmu sync.Mutex
289}
290
291func (c *relayPacketConn) ReadFrom(p []byte) (int, net.Addr, error) {
292 var header [2]byte

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected