fix: easier import proxies

This commit is contained in:
sajadMRjl
2026-01-28 15:09:13 +03:30
parent 644e135464
commit a022ea60ea
7 changed files with 214 additions and 88 deletions

View File

@@ -23,6 +23,7 @@ type Config struct {
InputPath string `envconfig:"INPUT_PATH" default:"proxies.txt"`
OutputPath string `envconfig:"OUTPUT_PATH" default:"valid.jsonl"`
GeoIPPath string `envconfig:"GEOIP_PATH" default:"GeoLite2-Country.mmdb"`
TxtOutputPath string `envconfig:"TXT_OUTPUT_PATH" default:"valid.txt"`
}
// Load reads .env and processes environment variables