Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartTestGRPCTestServer ¶
func StartTestGRPCTestServer(ctx context.Context, t *testing.T, baseServer *grpc.Server) grpc.DialOption
Mock transport for GRPC: This sets up a grpc server using bufcon transport for testing., it takes in a server and it will start listening with that server, it will clean up with t.Cleanup or on the given ctx cancel This returns a DialOption that will set the Dialer to connect to this server, for use with NewClient
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.