George Barnett a1760349d5 Update to protobuf 1.27.0 (#1973) 1 년 전
..
Client f77ea8088c Move v1 examples to v1 subdirectory (#1963) 1 년 전
Model a1760349d5 Update to protobuf 1.27.0 (#1973) 1 년 전
Server f77ea8088c Move v1 examples to v1 subdirectory (#1963) 1 년 전
README.md f77ea8088c Move v1 examples to v1 subdirectory (#1963) 1 년 전
route_guide_db.json f77ea8088c Move v1 examples to v1 subdirectory (#1963) 1 년 전

README.md

Route Guide - A sample gRPC Application

This directory contains the source and generated code for the gRPC "Route Guide" example.

The tutorial relating to this example can be found in grpc-swift/docs/basic-tutorial.md.

Running

To start the server, from the root of this package run:

$ swift run RouteGuideServer

From another terminal, run the client:

$ swift run RouteGuideClient

Regenerating client and server code

For simplicity, a shell script (grpc-swift/Protos/generate.sh) is provided to generate client and server code:

$ Protos/generate.sh