Skip to content

brickzzhang/grpc-helloworld

Repository files navigation

grpc-helloworld

What's it for this project ?

This project is a helloworld demo using grpc framework.

How to run this project ?

1; generate grpc proto and gateway codes:

  • using project binary executables:
make pb
  • using executables on local machine:
make lc-pb

2; build binary file:

  • using project binary executables:
make build
  • using executables on local machine:
make lc-build

3; start grpc server:

make run

Features used from grpc-ecosystem etc

  • unary server interceptor for panic recovery.

  • extra grpc tags.

  • trace support.

  • unary, serer-side stream, client-side stream and bidirectional stream support.

  • example of customized interceptor for unary server support.

  • example of customized gRPC response handler.

what's next ?

  1. graceful shutdown

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published