Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultProxyPort string = "8000"
DefaultProxyPort default port to listen on
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServing ¶
type HTTPServing struct{}
HTTPServing Type definition for HTTPServing
func (*HTTPServing) ListenAndServe ¶
func (httpProxy *HTTPServing) ListenAndServe()
ListenAndServe start http-proxy server on a given port
type ProxyAuthParams ¶
type ProxyAuthParams struct {
// contains filtered or unexported fields
}
type Socks5Serving ¶
type Socks5Serving struct{}
Socks5Serving Type definition for Socks5 server
func (*Socks5Serving) ListenAndServe ¶
func (sserver *Socks5Serving) ListenAndServe()
Click to show internal directories.
Click to hide internal directories.