Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Dial ant.Dialer = ant.DefaultDial
Functions ¶
This section is empty.
Types ¶
type WhiteHTTP ¶
WhiteHTTP is a HTTPMiddleman who only handles domain in white list
func NewWhiteHTTP ¶
NewWhiteHTTP returns a WhiteHTTP which can used to handle http proxy request
type WhiteSocks5 ¶
type WhiteSocks5 struct {
Handle *socks5.DefaultHandle
}
WhiteSocks5 is a Socks5Middleman who only handles domain in white list
func NewWhiteSocks5 ¶
func NewWhiteSocks5() *WhiteSocks5
NewWhiteSocks5 returns a WhiteSocks5 which can be used to handle http proxy request
Click to show internal directories.
Click to hide internal directories.