proxy

package
v0.0.0-...-280623b Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowLan

func AllowLan() bool

func BindAddress

func BindAddress() string

func ReCreateHTTP

func ReCreateHTTP(port int) error

func ReCreateRedir

func ReCreateRedir(port int) error

func ReCreateSocks

func ReCreateSocks(port int) error

func SetAllowLan

func SetAllowLan(al bool)

func SetBindAddress

func SetBindAddress(host string)

Types

type Ports

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

func GetPorts

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