|
|
%!s(int64=2) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| Client | %!s(int64=2) %!d(string=hai) anos | |
| Model | %!s(int64=2) %!d(string=hai) anos | |
| Server | %!s(int64=2) %!d(string=hai) anos | |
| README.md | %!s(int64=4) %!d(string=hai) anos | |
| route_guide_db.json | %!s(int64=6) %!d(string=hai) anos | |
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.
To start the server, from the root of this package run:
$ swift run RouteGuideServer
From another terminal, run the client:
$ swift run RouteGuideClient
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