Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Dial x.Dialer = x.DefaultDial
Functions ¶
This section is empty.
Types ¶
type TCPOnly ¶
TCPOnly is a middleman.
func (*TCPOnly) Handle ¶
func (t *TCPOnly) Handle(method, addr string, request []byte, conn *net.TCPConn) (handled bool, err error)
Handle handles http proxy request, if the domain is in the white list.
Click to show internal directories.
Click to hide internal directories.