Skip to content

Code example of some protobuf RPC implementations

Notifications You must be signed in to change notification settings

Nirespire/RPCExamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gRPC and Twirp examples

Constructed from:

Demo

gRPC Java

  • navigate into the examples directory
  • ./gradlew installDist
    • You might need to modify grpcVersion in the build.gradle to a non-SNAPSHOT version for Gradle to resolve all dependencies
  • To run the server./build/install/examples/bin/hello-world-server
  • To run the client./build/install/examples/bin/hello-world-client

Twirp GO

  • Ensure the folders in twirp-go are in your GOPATH
  • ./cmd/haberdasherserver/haberdasherserver to start the RPC server
  • ./cmd/haberdasherclient/haberdasherclient to start the RPC client

About

Code example of some protobuf RPC implementations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published