server

package
v2.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

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 (server *FlyServer) LocalHttpProxy(port string)

func (*FlyServer) LocalSocks5Proxy

func (server *FlyServer) LocalSocks5Proxy(port string)

func (*FlyServer) PortForward

func (server *FlyServer) PortForward(laborPort, queryPort string)

func (*FlyServer) Socks5ProxyForTCP

func (server *FlyServer) Socks5ProxyForTCP(localPort, method, key string)

func (*FlyServer) Socks5ProxyForUDP

func (server *FlyServer) Socks5ProxyForUDP(localPort string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL