Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celzero/midway
/ ProxyDisabled
Function
ProxyDisabled
midway/env/env.go:94–96 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
92
}
93
94
func
ProxyDisabled() bool {
95
return
strenv(
"PROXY_DISABLED"
,
"true"
) ==
"true"
96
}
97
98
func
intenv(k string, d int64) int64 {
99
if
i, err := strconv.ParseInt(os.Getenv(k), 10, 0); err == nil {
Callers
1
proxy.go
File · 0.92
Calls
1
strenv
Function · 0.85
Tested by
no test coverage detected