• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..24-Feb-2021-

client/H24-Feb-2021-196147

routeguide/H24-Feb-2021-1,002772

server/H24-Feb-2021-848782

testdata/H24-Feb-2021-602601

README.mdH A D24-Feb-2021871 3625

README.md

1# Description
2The route guide server and client demonstrate how to use grpc go libraries to
3perform unary, client streaming, server streaming and full duplex RPCs.
4
5Please refer to [gRPC Basics: Go](https://grpc.io/docs/tutorials/basic/go.html) for more information.
6
7See the definition of the route guide service in routeguide/route_guide.proto.
8
9# Run the sample code
10To compile and run the server, assuming you are in the root of the route_guide
11folder, i.e., .../examples/route_guide/, simply:
12
13```sh
14$ go run server/server.go
15```
16
17Likewise, to run the client:
18
19```sh
20$ go run client/client.go
21```
22
23# Optional command line flags
24The server and client both take optional command line flags. For example, the
25client and server run without TLS by default. To enable TLS:
26
27```sh
28$ go run server/server.go -tls=true
29```
30
31and
32
33```sh
34$ go run client/client.go -tls=true
35```
36