Skip to content

Commit

Permalink
updating client and server streaming comments
Browse files Browse the repository at this point in the history
  • Loading branch information
janardhankrishna-sai committed Dec 22, 2024
1 parent 5b41dbe commit 4588fc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/stubserver/stubserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4588fc1

Please sign in to comment.