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

Struct refPacketConn

common/net/packet/ref.go:9–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7)
8
9type refPacketConn struct {
10 pc EnhancePacketConn
11 ref any
12}
13
14func (c *refPacketConn) WaitReadFrom() (data []byte, put func(), addr net.Addr, err error) {
15 defer runtime.KeepAlive(c.ref)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected