MCPcopy 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
94func ProxyDisabled() bool {
95 return strenv("PROXY_DISABLED", "true") == "true"
96}
97
98func intenv(k string, d int64) int64 {
99 if i, err := strconv.ParseInt(os.Getenv(k), 10, 0); err == nil {

Callers 1

proxy.goFile · 0.92

Calls 1

strenvFunction · 0.85

Tested by

no test coverage detected