Function
withRPCMethod
(ctx context.Context, rpcMethodName string)
Source from the content-addressed store, hash-verified
| 385 | } |
| 386 | |
| 387 | func withRPCMethod(ctx context.Context, rpcMethodName string) context.Context { |
| 388 | return context.WithValue(ctx, rpcMethodKey{}, rpcMethodName) |
| 389 | } |
| 390 | |
| 391 | // HTTPPathPattern returns the HTTP path pattern string relating to the HTTP handler, if one exists. |
| 392 | // The format of the returned string is defined by the google.api.http path template type. |
Tested by
no test coverage detected