proxy

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2018 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.10.0

func AllowLan() bool

func ReCreateHTTP added in v0.10.0

func ReCreateHTTP(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)

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"`
}

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