DialHandler is a dial function for creating unencrypted network connections to the upstream server. It establishes the connection to the server specified at initialization and ignores the addr. network must be one of [NetworkTCP] or [NetworkUDP].
func(ctx context.Context, network Network, addr string) (conn net.Conn, err error)
| 42 | // specified at initialization and ignores the addr. network must be one of |
| 43 | // [NetworkTCP] or [NetworkUDP]. |
| 44 | type DialHandler func(ctx context.Context, network Network, addr string) (conn net.Conn, err error) |
| 45 | |
| 46 | // ResolveDialContext returns a DialHandler that uses addresses resolved from u |
| 47 | // using resolver. l and u must not be nil. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…