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

Method DialContext

proxy/direct.go:28–31  ·  view source on GitHub ↗

DialContext instantiates a net.Dialer and invokes its DialContext receiver with the supplied parameters.

(ctx context.Context, network, addr string)

Source from the content-addressed store, hash-verified

26
27// DialContext instantiates a net.Dialer and invokes its DialContext receiver with the supplied parameters.
28func (direct) DialContext(ctx context.Context, network, addr string) (net.Conn, error) {
29 var d net.Dialer
30 return d.DialContext(ctx, network, addr)
31}

Callers

nothing calls this directly

Calls 1

DialContextMethod · 0.95

Tested by

no test coverage detected