MCPcopy
hub / github.com/golang/net / recordingProxy

Struct recordingProxy

proxy/per_host_test.go:16–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14)
15
16type recordingProxy struct {
17 addrs []string
18}
19
20func (r *recordingProxy) Dial(network, addr string) (net.Conn, error) {
21 r.addrs = append(r.addrs, addr)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected