Documentation
¶
Overview ¶
Package grpctest provides client-side RPC inspection for transport tests. It complements emulator tests without implementing Spanner server behavior.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Inspect ¶
func Inspect(inspect func(method string, request any) error) []grpc.DialOption
Inspect calls inspect before each unary request or stream message is sent. Returning a non-nil gRPC status error prevents that message from being sent. The callback may run concurrently; it must not mutate or retain the message without copying it. Returning nil preserves the actual server response.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.