MCPcopy
hub / github.com/grpc/grpc-go / testPerRPCCredentials

Struct testPerRPCCredentials

balancer/rls/control_channel_test.go:180–182  ·  balancer/rls/control_channel_test.go::testPerRPCCredentials

Source from the content-addressed store, hash-verified

178)
179
180type testPerRPCCredentials struct {
181 callCreds map[string]string
182}
183
184func (f *testPerRPCCredentials) GetRequestMetadata(context.Context, ...string) (map[string]string, error) {
185 return f.callCreds, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected