saswatamcode/grpc_using_go

A simple demo of a gRPC server using Go.

★ 0Forks 1GoGitHub ↗Compare
grpcgrpc-gogrpc-serverprotobuf

README

License: MIT Maintenance Ask Me Anything ! made-for-VSCode GitHub forks GitHub stars GitHub issues Open Source Love svg1

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

Contributors

saswatamcodejasonl12

Issues