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

..25-Aug-2020-

client/H25-Aug-2020-195146

mock_routeguide/H25-Aug-2020-294221

routeguide/H25-Aug-2020-785601

server/H25-Aug-2020-848782

testdata/H25-Aug-2020-602601

README.mdH A D25-Aug-2020871 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