|
@@ -25,8 +25,8 @@ type LocalPluginRuntime struct {
|
|
defaultPythonInterpreterPath string
|
|
defaultPythonInterpreterPath string
|
|
|
|
|
|
// proxy settings
|
|
// proxy settings
|
|
- proxyHttp string
|
|
|
|
- proxyHttps string
|
|
|
|
|
|
+ HttpProxy string
|
|
|
|
+ HttpsProxy string
|
|
|
|
|
|
waitChanLock sync.Mutex
|
|
waitChanLock sync.Mutex
|
|
waitStartedChan []chan bool
|
|
waitStartedChan []chan bool
|
|
@@ -38,13 +38,13 @@ type LocalPluginRuntime struct {
|
|
func NewLocalPluginRuntime(
|
|
func NewLocalPluginRuntime(
|
|
pythonInterpreterPath string,
|
|
pythonInterpreterPath string,
|
|
pythonEnvInitTimeout int,
|
|
pythonEnvInitTimeout int,
|
|
- proxyHttp string,
|
|
|
|
- proxyHttps string,
|
|
|
|
|
|
+ HttpProxy string,
|
|
|
|
+ HttpsProxy string,
|
|
) *LocalPluginRuntime {
|
|
) *LocalPluginRuntime {
|
|
return &LocalPluginRuntime{
|
|
return &LocalPluginRuntime{
|
|
defaultPythonInterpreterPath: pythonInterpreterPath,
|
|
defaultPythonInterpreterPath: pythonInterpreterPath,
|
|
pythonEnvInitTimeout: pythonEnvInitTimeout,
|
|
pythonEnvInitTimeout: pythonEnvInitTimeout,
|
|
- proxyHttp: proxyHttp,
|
|
|
|
- proxyHttps: proxyHttps,
|
|
|
|
|
|
+ HttpProxy: HttpProxy,
|
|
|
|
+ HttpsProxy: HttpsProxy,
|
|
}
|
|
}
|
|
}
|
|
}
|