code

package
v0.0.0-...-d1eda2d Latest Latest
Warning

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

Go to latest
Published: May 29, 2018 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckProxySOCKS

func CheckProxySOCKS(proxyy string, c chan QR, wg *sync.WaitGroup) (err error)

CheckProxySOCKS Check proxies on valid

func CleanIP

func CleanIP(dirtyIP string) (cleanIP string)

CleanIP Removes everything around ip

func GetRealIP

func GetRealIP(link string) (string, error)

GetRealIP Getting real ip of device

func ReadFromFile

func ReadFromFile(path string, proxyType int) ([]string, error)

ReadFromFile Reading proxies from file

func Unique

func Unique(intSlice []string) []string

Unique Check proxies on uniqueness

func WriteToFile

func WriteToFile(proxyURL string) error

WriteToFile Writing valid proxies to file

Types

type QR

type QR struct {
	Addr string
	Res  bool
}

QR contain info about proxy

Jump to

Keyboard shortcuts

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