Documentation ¶
Index ¶
Constants ¶
View Source
const ( OperateDefault = 0 OperateEncode = 1 OperateDecode = 2 )
Variables ¶
View Source
var Coder = Code{ // contains filtered or unexported fields }
Functions ¶
func DoRequestAndReturn ¶
func DoRequestAndReturn(clientConn *TCPConn)
func HandlerSocks ¶ added in v1.0.4
func StrToByte256 ¶
Types ¶
type HttpProxy ¶ added in v1.0.4
func (*HttpProxy) HandlerHttp ¶ added in v1.0.4
type Proxy ¶
type Proxy struct { Local *net.TCPAddr Server *net.TCPAddr LocalAddr string `json:"local_addr"` LocalPort int `json:"local_port"` RemoteAddr string `json:"remote_addr"` RemotePort int `json:"remote_port"` //Method string Password string `json:"password"` // contains filtered or unexported fields }
func (*Proxy) GeneratePwd ¶
func (p *Proxy) GeneratePwd()
func (Proxy) GetLocalAddr ¶
func (Proxy) GetRemoteAddr ¶
func (Proxy) RemoteHandler ¶
Click to show internal directories.
Click to hide internal directories.