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

Struct PerRPCCredsCallOption

rpc_util.go:495–497  ·  view source on GitHub ↗

PerRPCCredsCallOption is a CallOption that indicates the per-RPC credentials to use for the call. # Experimental Notice: This type is EXPERIMENTAL and may be changed or removed in a later release.

Source from the content-addressed store, hash-verified

493// Notice: This type is EXPERIMENTAL and may be changed or removed in a
494// later release.
495type PerRPCCredsCallOption struct {
496 Creds credentials.PerRPCCredentials
497}
498
499func (o PerRPCCredsCallOption) before(c *callInfo) error {
500 c.creds = o.Creds

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected