proxy

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowLan added in v0.10.0

func AllowLan() bool

func BindAddress added in v0.16.0

func BindAddress() string

func ReCreateHTTP added in v0.10.0

func ReCreateHTTP(port int) error

func ReCreateMixed added in v1.0.0

func ReCreateMixed(port int) error

func ReCreateRedir added in v0.10.0

func ReCreateRedir(port int) error

func ReCreateSocks added in v0.10.0

func ReCreateSocks(port int) error

func SetAllowLan added in v0.10.0

func SetAllowLan(al bool)

func SetBindAddress added in v0.16.0

func SetBindAddress(host string)

Types

type Ports added in v0.10.0

type Ports struct {
	Port      int `json:"port"`
	SocksPort int `json:"socks-port"`
	RedirPort int `json:"redir-port"`
	MixedPort int `json:"mixed-port"`
}

func GetPorts added in v0.10.0

func GetPorts() *Ports

GetPorts return the ports of proxy servers

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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