Documentation
¶
Overview ¶
Package proxypool fetches and parses outbound proxy lists for the proxy-pool egress: free public lists or a manually-entered set, one "scheme://[user:pass@]host:port" per line.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fetch ¶
Fetch downloads a proxy-list URL and returns its non-empty lines. The URL is SSRF-validated (https only, no private/metadata addresses) before any request.
func Parse ¶
func Parse(lines []string) []model.ProxyEndpoint
Parse turns proxy lines into endpoints, skipping blanks/comments/dupes and unsupported schemes (socks4 — Xray has no socks4 outbound).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.