Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Channels ¶
type Channels struct { // Incoming verified SOCKS5 proxies SOCKS5 chan *Lookup // Incoming verified SOCKS4 proxies SOCKS4 chan *Lookup // Incoming verified SOCKS4A proxies SOCKS4A chan *Lookup // Incoming verified HTTP proxies HTTP chan *Lookup // Incoming errors Error chan error }
Channels represents incoming proxy channels
type Falcon ¶
type Falcon struct { // Pool workers Workers int // Proxy timeout (default: 10) Timeout time.Duration // Proxy list Proxies []string // Running status Running bool // Proxy channels *Channels // contains filtered or unexported fields }
Falcon represents a proxy checker
type Lookup ¶
type Lookup struct { Protocol string `json:"protocol"` IP string `json:"ip"` Port int `json:"port"` Status string `json:"status"` Continent string `json:"continent"` ContinentCode string `json:"continentCode"` Country string `json:"country"` CountryCode string `json:"countryCode"` Region string `json:"region"` RegionName string `json:"regionName"` City string `json:"city"` District string `json:"district"` Zip string `json:"zip"` Lat float64 `json:"lat"` Lon float64 `json:"lon"` Timezone string `json:"timezone"` Offset int `json:"offset"` Currency string `json:"currency"` Isp string `json:"isp"` Org string `json:"org"` As string `json:"as"` Asname string `json:"asname"` Mobile bool `json:"mobile"` Proxy bool `json:"proxy"` Hosting bool `json:"hosting"` Query string `json:"query"` }
Lookup represents a proxy lookup
Click to show internal directories.
Click to hide internal directories.