mirror of
https://github.com/black-ant/Ant-Browser.git
synced 2026-07-14 18:48:55 +08:00
13 lines
439 B
Go
13 lines
439 B
Go
package backend
|
|
|
|
import "ant-chrome/backend/internal/proxy"
|
|
|
|
// BrowserProxyBuildDiagnostic 构建代理桥接诊断信息,不启动代理进程。
|
|
func (a *App) BrowserProxyBuildDiagnostic(proxyId string, proxyConfig string) ProxyBuildDiagnostic {
|
|
proxies := a.getLatestProxies()
|
|
return proxy.BuildProxyDiagnostic(proxyConfig, proxies, proxyId, proxy.BuildDiagnosticOptions{
|
|
XrayMgr: a.xrayMgr,
|
|
SingBoxMgr: a.singboxMgr,
|
|
})
|
|
}
|