Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialer ¶
type Dialer struct { URL *url.URL Forward proxy.Dialer TLSClientConfig *tls.Config // Header sets the headers in the initial HTTP CONNECT request. See // the documentation for http.Request for more information. Header http.Header // DialTimeout is an optional timeout for connections through (not to) // the proxy server. DialTimeout time.Duration HaveAuth bool Username string Password string }
Dialer implement basic dialer for http protocol.
func (*Dialer) FillHeaderToReq ¶
func (*Dialer) NewHTTPRequest ¶
NewHTTPRequest return a *http.Request compose from remote address and other args.
Click to show internal directories.
Click to hide internal directories.