Documentation ¶
Overview ¶
Package easyproxy provides a method to quickly create a http.Transport or net.Conn using given proxy details (SOCKS5 or HTTP).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConn ¶
NewConn returns a tls.Conn to "addr" using the given proxy details. Leave user/pass blank if not needed.
func NewTransport ¶
func NewTransport(c ProxyConfig) (*http.Transport, error)
NewTransport returns a http.Transport using the given proxy details. Leave user/pass blank if not needed.
Types ¶
Click to show internal directories.
Click to hide internal directories.