https://github.com/saswatamcode/grpc_using_go
A simple demo of a gRPC server using Go.
https://github.com/saswatamcode/grpc_using_go
grpc grpc-go grpc-server protobuf
Last synced: 12 months ago
JSON representation
A simple demo of a gRPC server using Go.
- Host: GitHub
- URL: https://github.com/saswatamcode/grpc_using_go
- Owner: saswatamcode
- License: mit
- Created: 2020-12-05T13:09:21.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-09-14T04:45:32.000Z (over 3 years ago)
- Last Synced: 2025-01-25T16:24:38.059Z (about 1 year ago)
- Topics: grpc, grpc-go, grpc-server, protobuf
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://opensource.org/licenses/MIT)
[](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)
[](https://GitHub.com/Naereen/ama)
[](https://code.visualstudio.com/)
[](https://GitHub.com/saswatamcode/grpc_using_go/network/)
[](https://GitHub.com/saswatamcode/grpc_using_go/stargazers/)
[](https://GitHub.com/saswatamcode/grpc_using_go/issues/)
[](https://github.com/ellerbrock/open-source-badges/)
# gRPC Using Go
A simple demo of a gRPC server using Go.
## To Run
- Clone into repo
- Run `make run`
## Test RPC using gRPCurl
- Start gRPC server
- Run `grpcurl -plaintext localhost:9000 list` to list all services
- Run `grpcurl -plaintext localhost:9000 describe` to describe all services and methods
- Run `grpcurl -d '{"name": "To Kill a Mockingbird", "isbn": 12345}' -plaintext localhost:9000 book.BookService/GetBook`