MCPcopy Create free account
hub / github.com/PostHog/duckgres / envOrDefault

Function envOrDefault

cmd/cache-proxy/main.go:190–195  ·  view source on GitHub ↗
(key, def string)

Source from the content-addressed store, hash-verified

188 "peer_listen", peerAddr,
189 "health", healthAddr,
190 "peer_service", peerService,
191 "peer_lookup_mode", lookupMode,
192 "cache_host_suffixes", cacheHostSuffixes,
193 "connect_allowed_suffixes", connectAllowedSuffixes,
194 )
195
196 // Block-aligned cache mode: fixed-size, content-addressed blocks instead of
197 // exact-range keys, so repeat reads over drifting ranges of the same object
198 // still hit cache. See README.md "Block-aligned mode".

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected