mirror of
https://github.com/isboyjc/GoProxy.git
synced 2026-07-20 03:52:02 +08:00
feat: ✨ add SOCKS5 proxy support and enhance configuration
- Introduced SOCKS5 proxy functionality with separate ports for random rotation and lowest latency. - Updated `.env.example` and `docker-compose.yml` to include SOCKS5 port configurations. - Enhanced `main.go` to initialize and start SOCKS5 servers alongside existing HTTP proxies. - Revised README to document new SOCKS5 features, including usage examples and testing scripts. - Improved proxy selection logic in the storage layer to support SOCKS5 protocol.
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
# 按 Ctrl+C 停止测试
|
||||
# 用法: ./test_proxy.sh [端口号,默认7777]
|
||||
|
||||
# PROXY_HOST="192.227.184.201"
|
||||
# PROXY_HOST="proxy.amux.ai"
|
||||
PROXY_HOST="127.0.0.1"
|
||||
PROXY_PORT="${1:-7777}"
|
||||
TEST_URL="http://ip-api.com/json/?fields=countryCode,query"
|
||||
|
||||
Reference in New Issue
Block a user