https://github.com/aynp/grpc-demo
Demo of gRPC using Go
https://github.com/aynp/grpc-demo
grpc
Last synced: 2 months ago
JSON representation
Demo of gRPC using Go
- Host: GitHub
- URL: https://github.com/aynp/grpc-demo
- Owner: aynp
- Created: 2023-03-18T14:03:34.000Z (over 3 years ago)
- Default Branch: types
- Last Pushed: 2023-03-21T18:50:13.000Z (over 3 years ago)
- Last Synced: 2025-05-19T08:16:05.818Z (about 1 year ago)
- Topics: grpc
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GRPC
- **Unary RPC**
Client sends a single request to the Server and gets a single response back, just like a normal function call.
- **Server Streaming RPC**
Client sends a single request and server sends a stream of response. The client reads from the returned stream until there are no more messages.
- **Client Streaming RPC**
Client sends a stream of data and gets a single response back. Once the client has finished writing the messages, it waits for the server to read them and return its response
- **Bidirectional Streaming RPC**
Both client and server send stream of data. The two streams operate independently, so clients and servers can read and write in whatever order they like.