feat(proxy): add proxy module

This commit is contained in:
hzb1115
2025-11-05 21:41:36 -05:00
parent 2775e6fa25
commit 770f96e53f
10 changed files with 1328 additions and 0 deletions

10
proxy/provider.go Normal file
View File

@@ -0,0 +1,10 @@
package proxy
// IPProvider IP提供者接口
type IPProvider interface {
// GetIPList 获取IP列表
GetIPList() ([]ProxyIP, error)
// RefreshIPList 刷新IP列表可选实现
RefreshIPList() ([]ProxyIP, error)
}