Documentation ¶
Index ¶
- type FlyServer
- func (server *FlyServer) LocalHttpProxy(port string)
- func (server *FlyServer) LocalSocks5Proxy(port string)
- func (server *FlyServer) PortForward(laborPort, queryPort string)
- func (server *FlyServer) Socks5ProxyForTCP(localPort, method, key string)
- func (server *FlyServer) Socks5ProxyForUDP(localPort string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlyServer ¶
type FlyServer struct { Mode int // which function to use, [1:'http', 2:'socks5', 3:'socks5-tcp', 4:'socks5-udp', 5:'forward'] //localHost string Ports []string // ports[0] stands for the listening port; others are for reserve Method string Password string // contains filtered or unexported fields }
func (*FlyServer) LocalHttpProxy ¶
func (*FlyServer) LocalSocks5Proxy ¶
func (*FlyServer) PortForward ¶
func (*FlyServer) Socks5ProxyForTCP ¶
func (*FlyServer) Socks5ProxyForUDP ¶
Click to show internal directories.
Click to hide internal directories.