config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FileOutputExtensions = []string{
	"csv",
	"json",
	"xml",
	"yaml",
}
View Source
var HTTPSTestingSites = []string{
	"https://ifconfig.me/ip",
	"https://api.ipaddress.com/myip",
	"https://checkip.amazonaws.com",
	"https://google.com",
	"https://bing.com",
	"https://yahoo.com",
	"https://api.ipify.org",
	"https://ipinfo.io/ip",
}
View Source
var HTTPTestingSites = []string{
	"http://ifconfig.me/ip",
	"http://api.ipaddress.com/myip",
	"http://checkip.amazonaws.com",
}
View Source
var PrivateIPs = []net.IPNet{
	{IP: net.IP{10, 0, 0, 0}, Mask: net.CIDRMask(8, 32)},
	{IP: net.IP{172, 16, 0, 0}, Mask: net.CIDRMask(12, 32)},
	{IP: net.IP{192, 168, 0, 0}, Mask: net.CIDRMask(16, 32)},
	{IP: net.IP{169, 254, 0, 0}, Mask: net.CIDRMask(16, 32)},
	{IP: net.IP{224, 0, 0, 0}, Mask: net.CIDRMask(4, 32)},
	{IP: net.IP{240, 0, 0, 0}, Mask: net.CIDRMask(4, 32)},
	{IP: net.IP{127, 0, 0, 0}, Mask: net.CIDRMask(8, 32)},
	{IP: net.IP{192, 0, 2, 0}, Mask: net.CIDRMask(24, 32)},
}
View Source
var ProxyCategories = []string{
	"HTTP",
	"HTTPS",
	"SOCKS4",
	"SOCKS5",
}
View Source
var SpecialIPs = []string{
	"0.0.0.0",
	"127.0.0.1",
	"255.255.255.255",
}
View Source
var UserAgents = []string{}/* 999 elements not displayed */

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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