Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrAuthFailed returns error information when auth failed. ErrAuthFailed = errors.New("authentication failed") // ErrInvalidProxyResponse returns error information when catch an invalid proxy response. ErrInvalidProxyResponse = errors.New("invalid proxy response") // ErrNoAcceptableAuthMethod returns error information when there is no acceptable authentication method. ErrNoAcceptableAuthMethod = errors.New("no acceptable authentication method") )
Functions ¶
This section is empty.
Types ¶
type ProxiedAddr ¶
ProxiedAddr is used for proxy address.
func (*ProxiedAddr) Network ¶
func (a *ProxiedAddr) Network() string
Network returns the net of ProxiedAddr.
func (*ProxiedAddr) String ¶
func (a *ProxiedAddr) String() string
String will print the ip address and port of proxied address.
Click to show internal directories.
Click to hide internal directories.