generate SendAndClose() and CloseAndRecv() on streams. #7
No reviewers
Labels
No Label
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: unistack-org/micro#7
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "protoc-gen-micro-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR is applicable on cmd/protoc-gen-micro plugin.
This PR adds method SendAndClose() and CloseAndRecv() on stream.
So that nobody who comes directly from using grpc vanilla client don't get confused on finding SendAndClose() and CloseAndRecv() method.
However Close() method is still presend along with these two methods.
CloseAndRecv looks strange may be RecvAndClose ? Can you share the link to docs or for some generated code to check?
RecvAndClose may sounds good but under the hood first it fires close and then Recv that's why it is CloseAndRecv.
greeting.proto
greeting.pb.micro.go
Thanks