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

Function WithAPICallFunc

appengine.go:128–130  ·  view source on GitHub ↗

WithAPICallFunc returns a copy of the parent context that will cause API calls to invoke f instead of their normal operation. This is intended for advanced users only.

(ctx context.Context, f APICallFunc)

Source from the content-addressed store, hash-verified

126//
127// This is intended for advanced users only.
128func WithAPICallFunc(ctx context.Context, f APICallFunc) context.Context {
129 return internal.WithCallOverride(ctx, internal.CallOverrideFunc(f))
130}
131
132// APICall performs an API call.
133//

Callers

nothing calls this directly

Calls 2

WithCallOverrideFunction · 0.92
CallOverrideFuncFuncType · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…