Kristopher Wuollett 8a70336d12 Remove the gRPC Authors copyright header from generated swift files (#1612) 2 年之前
..
Client d2d60e6e79 Drop support for Swift 5.5 (#1585) 2 年之前
Model 8a70336d12 Remove the gRPC Authors copyright header from generated swift files (#1612) 2 年之前
Server d2d60e6e79 Drop support for Swift 5.5 (#1585) 2 年之前
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