Skip to content

Commit

Permalink
updating comments for StreamingInputCall and StreamingOutputCall
Browse files Browse the repository at this point in the history
  • Loading branch information
janardhankrishna-sai committed Dec 20, 2024
1 parent 65c4476 commit 4c9564d
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 @@ -103,12 +103,12 @@ func (ss *StubServer) FullDuplexCall(stream testgrpc.TestService_FullDuplexCallS
return ss.FullDuplexCallF(stream)
}

// StreamingInputCall is the handler for testpb.StreamingInputCall
// StreamingInputCall is the handler for client-streaming RPCs for testpb.StreamingInputCall
func (ss *StubServer) StreamingInputCall(stream testgrpc.TestService_StreamingInputCallServer) error {
return ss.ClientStreamingInputCall(stream)
}

// StreamingOutputCall is the handler for testpb.StreamingOutputCall
// StreamingOutputCall is the handler for server-streaming RPCs testpb.StreamingOutputCall
func (ss *StubServer) StreamingOutputCall(req *testpb.StreamingOutputCallRequest, stream testgrpc.TestService_StreamingOutputCallServer) error {
return ss.ClientStreamingOutputCall(req, stream)
}
Expand Down

0 comments on commit 4c9564d

Please sign in to comment.