Fix basepool & 优化 repo
This commit is contained in:
@@ -311,3 +311,8 @@ func (m *manager) checkProxyConnectivity(proxyCfg *models.ProxyConfig, timeout t
|
||||
defer resp.Body.Close()
|
||||
return true
|
||||
}
|
||||
|
||||
type Manager interface {
|
||||
AssignProxyIfNeeded(apiKey *models.APIKey) (*models.ProxyConfig, error)
|
||||
// ... 其他需要暴露给外部服务的方法
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user