proxy

package
v0.13.4 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowLan added in v0.13.0

func AllowLan() bool

func ReCreateHTTP added in v0.13.0

func ReCreateHTTP(port int) error

func ReCreateRedir added in v0.13.0

func ReCreateRedir(port int) error

func ReCreateSocks added in v0.13.0

func ReCreateSocks(port int) error

func SetAllowLan added in v0.13.0

func SetAllowLan(al bool)

Types

type Ports added in v0.13.0

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

func GetPorts added in v0.13.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