From 4588fc111159824ce72e97d9590481d2dc8efe75 Mon Sep 17 00:00:00 2001 From: Vissa Janardhan Krishna Sai Date: Sun, 22 Dec 2024 06:23:31 +0000 Subject: [PATCH] updating client and server streaming comments --- internal/stubserver/stubserver.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/stubserver/stubserver.go b/internal/stubserver/stubserver.go index 1c92793d8df6..92262af877a6 100644 --- a/internal/stubserver/stubserver.go +++ b/internal/stubserver/stubserver.go @@ -59,8 +59,8 @@ type StubServer struct { EmptyCallF func(ctx context.Context, in *testpb.Empty) (*testpb.Empty, error) UnaryCallF func(ctx context.Context, in *testpb.SimpleRequest) (*testpb.SimpleResponse, error) FullDuplexCallF func(stream testgrpc.TestService_FullDuplexCallServer) error - StreamingInputCallF func(stream testgrpc.TestService_StreamingInputCallServer) error // ClientStreaming - StreamingOutputCallF func(req *testpb.StreamingOutputCallRequest, stream testgrpc.TestService_StreamingOutputCallServer) error // ServerStreaming + StreamingInputCallF func(stream testgrpc.TestService_StreamingInputCallServer) error // Client-Streaming request + StreamingOutputCallF func(req *testpb.StreamingOutputCallRequest, stream testgrpc.TestService_StreamingOutputCallServer) error // Server-streaming response // A client connected to this service the test may use. Created in Start(). Client testgrpc.TestServiceClient