MCPcopy Index your code
hub / github.com/coder/coder / Dial

Method Dial

coderd/database/pubsub/pubsub.go:465–469  ·  view source on GitHub ↗
(network, address string)

Source from the content-addressed store, hash-verified

463)
464
465func (d logDialer) Dial(network, address string) (net.Conn, error) {
466 ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
467 defer cancel()
468 return d.DialContext(ctx, network, address)
469}
470
471func (d logDialer) DialTimeout(network, address string, timeout time.Duration) (net.Conn, error) {
472 ctx, cancel := context.WithTimeout(context.Background(), timeout)

Callers

nothing calls this directly

Calls 1

DialContextMethod · 0.95

Tested by

no test coverage detected