Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Direct = &net.Dialer{}
Direct is a Dialer which just uses the net package directly.
Functions ¶
This section is empty.
Types ¶
type Dialer ¶
Dialer is the same as the Dialer interface from "golang.org/x/net/proxy". the Dial method has the same semantics as net.Dial from the standard library.
We duplicate this here, as well as the "Direct" dialer, rather than pull in an extra dependency from which we use so little.
Click to show internal directories.
Click to hide internal directories.