Documentation ¶
Index ¶
- func ParseHTTP(conn net.Conn) (net.Conn, string, error)
- func ParseHTTPS(conn net.Conn) (net.Conn, string, error)
- func StartClient(serverAddr, password string, forwards map[string]string, ...)
- func StartDNS(relayServer string, shouldProxy func(string) (bool, bool))
- func StartHTTPProxy(httpProxyAddr, serverAddr string, password []byte, ...)
- func StartServer(relayTarget, password, cacheDir, certFile, keyFile, email string)
- func StartSocks5Proxy(listenAddr, serverAddr string, password []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartClient ¶
func StartHTTPProxy ¶ added in v0.7.1
func StartHTTPProxy(httpProxyAddr, serverAddr string, password []byte, shouldProxy func(string) (bool, bool))
StartHTTPProxy start http reverse proxy. The httputil.ReverseProxy do not supply enough support for https request.
func StartServer ¶
func StartServer(relayTarget, password, cacheDir, certFile, keyFile, email string)
func StartSocks5Proxy ¶ added in v0.7.6
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.