gproxy

package
v0.0.0-...-f3abbe6 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: MIT Imports: 8 Imported by: 0

README

github.com/cyfdecyf/cow 可自动监测翻墙,无需pac github.com/elazarl/goproxy 支持ssl,据说比较接近fiddler

Documentation

Index

Constants

View Source
const (
	ANONYMITY_NOA = iota
	ANONYMITY_ANM
	ANONYMITY_HIA
)

Variables

This section is empty.

Functions

func IsVisitable

func IsVisitable(url string) bool

Types

type Anonymity

type Anonymity int

func (Anonymity) String

func (a Anonymity) String() string

type ProxyQuality

type ProxyQuality struct {
	Type      string
	Available bool
	Speed     *gspeed.Speed
	Latency   time.Duration
}

func CheckProxy

func CheckProxy(hostAddr string, t string) (*ProxyQuality, error)

type Socks5Server

type Socks5Server struct {
	// contains filtered or unexported fields
}

func (*Socks5Server) ListenAndServe

func (s *Socks5Server) ListenAndServe()

Jump to

Keyboard shortcuts

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