Skip to content

Latest commit

 

History

History
62 lines (38 loc) · 1.55 KB

README.md

File metadata and controls

62 lines (38 loc) · 1.55 KB

Example gRPC server on Go

This is full project structure example of article Enter to gRPC in Go → first server .

Published on Dev.to @ 06 Feb 2020.

Requirements

  • Go 1.11+
  • Go Modules

Usage

  • Clone this repository and go to folder:
git clone https://github.com/koddr/example-go-grpc-server.git
cd example-go-grpc-server
  • Try to build binary:
make build
  • No errors? Let's run:
make run
  • Go to another console session and connect to gRPC server with Evans (gRPC client):
evans api/proto/adder.proto -p 8080
  • That's all!

Live demo

asciicast

Author

Article assistance

If you want to say «thank you»:

  1. Twit about article on your Twitter.
  2. Add a GitHub Star and make Fork to this repository.
  3. Donate some money to project author via PayPal @paypal.me/koddr or LiberaPay.
  4. Join DigitalOcean at our referral link (your profit is $100 and we get $25).

Thanks for your support! 😘

License

MIT