George Barnett 6b049e1396 Use more accurate imports (#1309) пре 4 година
..
Client 6b049e1396 Use more accurate imports (#1309) пре 4 година
Model 91ab843c48 Regenerate пре 4 година
Server 6b049e1396 Use more accurate imports (#1309) пре 4 година
README.md dceb753a79 Use swift-argument-parser for examples etc (#1118) пре 4 година
route_guide_db.json 0df475fe2e Add a RouteGuide example and tutorial (#598) пре 6 година

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 Makefile is provided in the root of this package with a target to generate client and server code:

$ make generate-route-guide