logDialer is a pq.Dialer and pq.DialerContext that logs when it starts connecting and when the TCP connection is established.
| 453 | // logDialer is a pq.Dialer and pq.DialerContext that logs when it starts |
| 454 | // connecting and when the TCP connection is established. |
| 455 | type logDialer struct { |
| 456 | logger slog.Logger |
| 457 | d net.Dialer |
| 458 | } |
| 459 | |
| 460 | var ( |
| 461 | _ pq.Dialer = logDialer{} |
nothing calls this directly
no outgoing calls
no test coverage detected