Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProxyRequestHandler ¶
func NewProxyRequestHandler(proxyManager *ProxyManager, auth ProxyAuthConfig) *proxyRequestHandler
Types ¶
type ProxyAuthConfig ¶
type ProxyManager ¶
type ProxyManager struct {
// contains filtered or unexported fields
}
func NewProxyManager ¶
func NewProxyManager(proxies []*url.URL) (*ProxyManager, error)
func NewProxyManagerFromFile ¶
func NewProxyManagerFromFile(filePath string) (*ProxyManager, error)
func (*ProxyManager) GetProxy ¶
func (pm *ProxyManager) GetProxy() *url.URL
Click to show internal directories.
Click to hide internal directories.