Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMockClient ¶
func MetadataInterceptor ¶
func MetadataInterceptor(t *testing.T, expectedMetadata map[string]string) grpc.UnaryClientInterceptor
MetadataInterceptor is a grpc.UnaryClientInterceptor that extracts the gRPC metadata from the outgoing RPC request context so we can assert on it
Types ¶
Click to show internal directories.
Click to hide internal directories.