Documentation ¶
Index ¶
- func RegisterScheme(schemeName string, factory DialFactory)
- func SupportedSchemes() []string
- type Dial
- func DialWithTimeout(timeout time.Duration) Dial
- func NewClient(proxy *url.URL) (Dial, error)
- func NewClientChain(proxies []*url.URL) (Dial, error)
- func NewClientChainWithDial(proxies []*url.URL, upstreamDial Dial) (dial Dial, err error)
- func NewClientWithDial(proxy *url.URL, upstreamDial Dial) (_ Dial, err error)
- type DialFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterScheme ¶
func RegisterScheme(schemeName string, factory DialFactory)
func SupportedSchemes ¶
func SupportedSchemes() []string
Types ¶
type Dial ¶
func DialWithTimeout ¶
func NewClientChainWithDial ¶
func NewClientWithDial ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.