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

Method Call

internal/api_classic.go:79–84  ·  view source on GitHub ↗
(service, method string, _, _ appengine_internal.ProtoMessage, _ *appengine_internal.CallOptions)

Source from the content-addressed store, hash-verified

77
78func (t *testingContext) FullyQualifiedAppID() string { return "dev~testcontext" }
79func (t *testingContext) Call(service, method string, _, _ appengine_internal.ProtoMessage, _ *appengine_internal.CallOptions) error {
80 if service == "__go__" && method == "GetNamespace" {
81 return nil
82 }
83 return fmt.Errorf("testingContext: unsupported Call")
84}
85func (t *testingContext) Request() interface{} { return t.req }
86
87func ContextForTesting(req *http.Request) context.Context {

Callers 4

applyTransactionFunction · 0.45
withContextFunction · 0.45
CallFunction · 0.45
callMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected