model

package
v0.0.25-20250204100855 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	StatusUnexpected = "Unknown"
	StatusNetworkErr = "NetworkError"
	StatusErr        = "Error"
	StatusRestricted = "Restricted"
	StatusYes        = "Yes"
	StatusNo         = "No"
	StatusBanned     = "Banned"
	PrintHead        = "PrintHead"
	UA_Browser       = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
	UA_SecCHUA       = "\"Chromium\";v=\"124\", \"Google Chrome\";v=\"124\", \"Not-A.Brand\";v=\"99\""
	UA_Dalvik        = "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Mobile Safari/537.36"
	UA_Pjsekai       = "pjsekai/48 CFNetwork/1240.0.4 Darwin/20.6.0"
)
View Source
const UnlockTestsVersion = "v0.0.25"

Variables

View Source
var CdnPrefixes = []string{}/* 198 elements not displayed */
View Source
var CommonPublicDNS = map[string]bool{
	"8.8.8.8":         true,
	"8.8.4.4":         true,
	"1.1.1.1":         true,
	"1.0.0.1":         true,
	"9.9.9.9":         true,
	"149.112.112.112": true,
	"208.67.222.222":  true,
	"208.67.220.220":  true,
	"64.6.64.6":       true,
	"64.6.65.6":       true,
	"94.140.14.14":    true,
	"94.140.15.15":    true,
	"185.228.168.9":   true,
	"185.228.169.9":   true,
	"76.76.19.19":     true,
	"76.223.122.150":  true,
	"77.88.8.8":       true,
	"77.88.8.1":       true,
	"156.154.70.1":    true,
	"156.154.71.1":    true,
	"8.26.56.26":      true,
	"8.20.247.20":     true,
	"84.200.69.80":    true,
	"84.200.70.40":    true,
}
View Source
var DiscoveryPlusSupportCountry = []string{
	"at", "br", "ca", "dk", "fi", "de", "in", "ie", "it", "nl", "no", "es",
	"se", "gb", "us"}
View Source
var EnableLoger = false
View Source
var GptSupportCountry = []string{}/* 160 elements not displayed */
View Source
var NLZIETSupportCountry = []string{
	"be", "bg", "cz", "dk", "de", "ee", "ie", "el", "es", "fr",
	"hr", "it", "cy", "lv", "lt", "lu", "hu", "mt", "nl", "at",
	"pl", "pt", "ro", "si", "sk", "fi", "se",
}
View Source
var PrivateIPv4Ranges = []string{
	"10.0.0.0/8",
	"172.16.0.0/12",
	"192.168.0.0/16",
	"169.254.0.0/16",
	"127.0.0.0/8",
	"0.0.0.0/8",
	"100.64.0.0/10",
	"224.0.0.0/4",
}
View Source
var StarPlusSupportCountry = []string{
	"br", "mx", "ar", "cl", "co", "pe", "uy", "ec", "pa", "cr", "py", "bo",
	"gt", "ni", "do", "sv", "hn", "ve",
}

Functions

This section is empty.

Types

type Result

type Result struct {
	Name       string
	Status     string
	Err        error
	Region     string
	Info       string
	UnlockType string
}

Jump to

Keyboard shortcuts

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