Versions in this module Expand all Collapse all v1 v1.5.1 Jul 30, 2026 Changes in this version + func LoadConfigLines(input string) ([]string, error) + type ConfigTestResult struct + DurationMs float64 + Error string + FinalURI string + OK bool + func TestConfigAgainstIP(pc *ParsedProxyConfig, ip net.IP, port int, timeout time.Duration) ConfigTestResult + type ParsedProxyConfig struct + ALPN []string + Fp string + HostHdr string + Insecure bool + Network string + OrigHost string + OrigPort int + Path string + Protocol string + Raw string + SNI string + Security string + Tag string + UUID string + func ParseProxyConfigLine(line string) (*ParsedProxyConfig, error) type ScanConfig + AutoSubnetScan bool + ConfigTestTimeout int + SubnetPrefixLen int + TestConfigEnabled bool + TestConfigRaw string type ScanResult + ConfigFinalURI string + ConfigTestError string + ConfigTestMs float64 + ConfigTestOK bool + ConfigTested bool v1.4.17 Jul 30, 2026 Changes in this version + func GetCloudflareIPv6Ranges() []string type ScanConfig + ASNDBPath string + EnablePacketLoss bool + GoodScoreThreshold int + LatencySamples int + RandomSample bool + SaveValidIPs bool + ScoreConfigPath string + ScoreWeights ScoreWeights + ShuffleIPs bool + SpeedTestHost string + StopAfterGood int type ScanResult + CloudflareConfidence int + Datacenter string + IsGenuineCFRange bool + QUICHandshakeMs float64 + TCPFailureRate float64 + TLSFingerprint string type ScanStats + func (s *ScanStats) Snapshot() (total, scanned, alive, dead, http3 int64, best float64) + type ScoreWeights struct + Cloudflare float64 + HTTP3 float64 + Latency float64 + LatencyRefMs float64 + Reliability float64 + Speed float64 + SpeedRefMBps float64 + TLS float64 v1.4.16 Jul 30, 2026 v1.4.15 Jul 29, 2026 Changes in this version + const Blue + const Bold + const BufferSize + const CloudflareASN + const Cyan + const Green + const Magenta + const Red + const RequestTimeout + const Reset + const White + const Yellow + func EstimateScanTime(ranges []string, workers int, ports []int, maxIPsPerRange int) (string, string) + func GetAllCloudflareRanges() []string + func GetCloudflareRanges() []string + func RunScanner(config *ScanConfig) error + type ScanConfig struct + EnableBenchmark bool + EnableGeoIP bool + EnableHTTP2 bool + EnableHTTP3 bool + EnableReverseDNS bool + EnableSpeedTest bool + GeoIPDBPath string + MaxIPsPerRange int + MaxResults int + NoColor bool + OutputFormat string + OutputPath string + PortScanTimeout int + Ports []int + RateLimit int + RealTimePrint bool + ResumeDBPath string + ShowProgress bool + SortBy string + Sources []string + TestDomain string + Timeout int + WorkerCount int + type ScanResult struct + ASN string + AverageLatency float64 + CFCacheStatus string + CFRay string + CFRequestID string + CertExpiry time.Time + CertIssuer string + CertSAN string + City string + Country string + DownloadMs float64 + DownloadSpeed10MB float64 + DownloadSpeed1MB float64 + EdgeType string + HTTP11 bool + HTTP2Supported bool + HTTP3Supported bool + HTTPVersion string + Hostname string + IP string + IsAlive bool + IsCloudflare bool + IsProxy bool + Jitter float64 + KeepAliveMs float64 + MedianLatency float64 + PacketLoss float64 + Port int + Ports []int + Region string + ScannedAt time.Time + Score int + ServerHeader string + Source string + TCPConnectMs float64 + TLSALPN string + TLSCipher string + TLSHandshakeMs float64 + TLSSNI string + TLSVersion string + TTFBMs float64 + type ScanStats struct + Alive int64 + BestLatency float64 + Dead int64 + HTTP3 int64 + Scanned int64 + Total int64 + type WorkerPool struct + func NewWorkerPool(config *ScanConfig, geoDB *geoip2.Reader) *WorkerPool + func (wp *WorkerPool) Start(wg *sync.WaitGroup)