NewDialer returns a function that will be used as the default dialer when none is specified in Options.Dialer.
()
| 439 | // NewDialer returns a function that will be used as the default dialer |
| 440 | // when none is specified in Options.Dialer. |
| 441 | func (opt *Options) NewDialer() func(context.Context, string, string) (net.Conn, error) { |
| 442 | return NewDialer(opt) |
| 443 | } |
| 444 | |
| 445 | // NewDialer returns a function that will be used as the default dialer |
| 446 | // when none is specified in Options.Dialer. |
nothing calls this directly
no test coverage detected