MCPcopy Create free account
hub / github.com/Invisv-Privacy/masque / NetConnWrapper

Struct NetConnWrapper

internal/testutils/testutils.go:22–24  ·  view source on GitHub ↗

We want an interface that can implement net.Conn so we need to add these methods But we do not expect them to be called during our tests

Source from the content-addressed store, hash-verified

20// We want an interface that can implement net.Conn so we need to add these methods
21// But we do not expect them to be called during our tests
22type NetConnWrapper struct {
23 io.ReadWriteCloser
24}
25
26func (r *NetConnWrapper) LocalAddr() net.Addr {
27 return nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected