https://github.com/koddr/example-go-grpc-server
Example gRPC server on Go
https://github.com/koddr/example-go-grpc-server
tutorial-code tutorial-sourcecode
Last synced: about 2 months ago
JSON representation
Example gRPC server on Go
- Host: GitHub
- URL: https://github.com/koddr/example-go-grpc-server
- Owner: koddr
- Created: 2020-02-06T21:47:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-03T04:34:51.000Z (12 months ago)
- Last Synced: 2025-04-29T19:58:59.645Z (about 2 months ago)
- Topics: tutorial-code, tutorial-sourcecode
- Language: Go
- Homepage: https://dev.to/koddr/enter-to-grpc-in-go-first-server-4a5g
- Size: 305 KB
- Stars: 27
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example gRPC server on Go
This is full project structure example of article **[Enter to gRPC in Go → first server ](https://dev.to/koddr/enter-to-grpc-in-go-first-server-4a5g)**.
Published on [Dev.to](https://dev.to/koddr/enter-to-grpc-in-go-first-server-4a5g) @ 06 Feb 2020.
## Requirements
- Go `1.11+`
- Go Modules## Usage
- Clone this repository and go to folder:
```console
git clone https://github.com/koddr/example-go-grpc-server.git
cd example-go-grpc-server
```- Try to build binary:
```console
make build
```- No errors? Let's run:
```console
make run
```- Go to another console session and connect to gRPC server with [Evans](https://github.com/ktr0731/evans) (gRPC client):
```console
evans api/proto/adder.proto -p 8080
```- That's all!
## Live demo
[](https://asciinema.org/a/298722)
## Author
- [Vic Shóstak](https://github.com/koddr) (aka Koddr).
## Article assistance
If you want to say «thank you»:
1. Twit about article [on your Twitter](https://twitter.com/intent/tweet?text=Enter%20to%20gRPC%20in%20Go%20%E2%86%92%20first%20server%20https%3A%2F%2Fdev.to%2Fkoddr%2Fenter-to-grpc-in-go-first-server-4a5g).
2. Add a GitHub Star and make Fork to this repository.
3. Donate some money to project author via PayPal [@paypal.me/koddr](https://paypal.me/koddr?locale.x=en_EN) or [LiberaPay](https://liberapay.com/koddr/donate).
4. Join DigitalOcean at our [referral link](https://m.do.co/c/b41859fa9b6e) (your profit is **\$100** and we get \$25).Thanks for your support! 😘
## License
MIT