(network, address string)
| 463 | ) |
| 464 | |
| 465 | func (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 | |
| 471 | func (d logDialer) DialTimeout(network, address string, timeout time.Duration) (net.Conn, error) { |
| 472 | ctx, cancel := context.WithTimeout(context.Background(), timeout) |
nothing calls this directly
no test coverage detected