mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-13 07:46:54 +08:00
feat(proxy): add proxy module
This commit is contained in:
10
proxy/provider.go
Normal file
10
proxy/provider.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package proxy
|
||||
|
||||
// IPProvider IP提供者接口
|
||||
type IPProvider interface {
|
||||
// GetIPList 获取IP列表
|
||||
GetIPList() ([]ProxyIP, error)
|
||||
|
||||
// RefreshIPList 刷新IP列表(可选实现)
|
||||
RefreshIPList() ([]ProxyIP, error)
|
||||
}
|
||||
Reference in New Issue
Block a user