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

Function transportID

transport/xhttp/reuse_test.go:26–28  ·  view source on GitHub ↗
(rt *ReuseTransport)

Source from the content-addressed store, hash-verified

24}
25
26func transportID(rt *ReuseTransport) int64 {
27 return rt.entry.transport.(*testRoundTripper).id
28}
29
30func TestManagerReuseSameEntry(t *testing.T) {
31 var created atomic.Int64

Calls

no outgoing calls

Tested by

no test coverage detected