MCPcopy Create free account
hub / github.com/golang/appengine / withAPIPortOverride

Function withAPIPortOverride

internal/api_common.go:72–74  ·  view source on GitHub ↗
(ctx context.Context, apiPort string)

Source from the content-addressed store, hash-verified

70var apiPortOverrideKey = ctxKey("holds a string, being the alternate API_PORT")
71
72func withAPIPortOverride(ctx context.Context, apiPort string) context.Context {
73 return context.WithValue(ctx, apiPortOverrideKey, apiPort)
74}
75
76var namespaceKey = "holds the namespace string"
77

Callers 1

RegisterTestRequestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…