|
|
há 1 ano atrás | |
|---|---|---|
| .. | ||
| Client | há 1 ano atrás | |
| Model | há 1 ano atrás | |
| Server | há 1 ano atrás | |
| README.md | há 1 ano atrás | |
| route_guide_db.json | há 1 ano atrás | |
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 shell script (grpc-swift/Protos/generate.sh) is provided to generate client and server code:
$ Protos/generate.sh