MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / getSystemProxy

Function getSystemProxy

agent/app/service/website_utils.go:1668–1675  ·  view source on GitHub ↗
(useProxy bool)

Source from the content-addressed store, hash-verified

1666}
1667
1668func getSystemProxy(useProxy bool) *dto.SystemProxy {
1669 if !useProxy {
1670 return nil
1671 }
1672 settingService := NewISettingService()
1673 systemProxy, _ := settingService.GetSystemProxy()
1674 return systemProxy
1675}
1676
1677func hasHttp3(params []string) bool {
1678 for _, param := range params {

Callers 4

CreateMethod · 0.85
newWebsiteSSLLegoClientFunction · 0.85
obtainSSLMethod · 0.85
GetDNSResolveMethod · 0.85

Calls 2

GetSystemProxyMethod · 0.95
NewISettingServiceFunction · 0.70

Tested by

no test coverage detected