pc

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunProxyChecker

func RunProxyChecker(config Config)

Types

type Config

type Config struct {
	ProxyFile  string
	Threads    int
	TestURL    string
	Timeout    int
	OutputJSON bool
	Score      bool
	NoColor    bool
	Types      string
	SetProxy   string
	ApplyBest  bool
	AutoDetect bool
	Download   bool
	Scrape     bool
	ScrapeDeep bool
	ProxyType  string
	Insecure   bool
	Sources    string
}

type GeoInfo

type GeoInfo struct {
	Country  string
	Provider string
}

type ProxyResult

type ProxyResult struct {
	Proxy     string `json:"proxy"`
	Type      string `json:"type"`
	Working   bool   `json:"working"`
	LatencyMs int64  `json:"latency_ms"`
	Country   string `json:"country"`
	Provider  string `json:"provider"`
	Anonymity string `json:"anonymity"`
	Speed     string `json:"speed"`
	Score     int    `json:"score"`
	CheckTime string `json:"check_time"`
	Error     string `json:"error,omitempty"`
	IPv6      bool   `json:"ipv6"`
	HasAuth   bool   `json:"has_auth"`
}

type UIState

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

Jump to

Keyboard shortcuts

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