Documentation ¶
Index ¶
- Constants
- Variables
- func ChatroomClient(listenAddr string)
- func ChatroomProcess(client net.Conn)
- func ChatroomServer(listenAddr string)
- func EchoProcess(client net.Conn)
- func EchoServe(listenAddr string)
- func Execute()
- func ProxyServe(clientAddr, targetAddr, role string)
- func ReverseLocalEncryptProxyProcess(client net.Conn, clientAddr string)
- func ReverseProxyProcess(client net.Conn, clientAddr string)
- func ReverseRemoteDecryptProxyProcess(client net.Conn, clientAddr string)
- func Socks4Serve(listenAddr string)
- func Socks5Serve(listenAddr string)
Constants ¶
View Source
const (
Version = "v0.1.4"
)
Variables ¶
View Source
var ( RootCmd = &cobra.Command{ Use: "socks", Version: Version, Short: "Socks Tool implement socks protocol, such as socks4 and socks5, also provide kcp encryption extension", Long: `Socks Tool Socks Tool implement socks protocol, such as socks4 and socks5, also provide kcp encryption extension.`, } )
Functions ¶
func ChatroomClient ¶ added in v0.1.3
func ChatroomClient(listenAddr string)
func ChatroomProcess ¶
func ChatroomServer ¶
func ChatroomServer(listenAddr string)
func EchoProcess ¶
func ProxyServe ¶
func ProxyServe(clientAddr, targetAddr, role string)
func ReverseProxyProcess ¶
func Socks4Serve ¶
func Socks4Serve(listenAddr string)
func Socks5Serve ¶
func Socks5Serve(listenAddr string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.