Constructed from:
- navigate into the
examples
directory ./gradlew installDist
- You might need to modify
grpcVersion
in thebuild.gradle
to a non-SNAPSHOT version for Gradle to resolve all dependencies
- You might need to modify
- To run the server
./build/install/examples/bin/hello-world-server
- To run the client
./build/install/examples/bin/hello-world-client
- Ensure the folders in
twirp-go
are in yourGOPATH
./cmd/haberdasherserver/haberdasherserver
to start the RPC server./cmd/haberdasherclient/haberdasherclient
to start the RPC client