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

..25-Aug-2020-

features/H25-Aug-2020-5,2453,428

helloworld/H25-Aug-2020-503345

route_guide/H25-Aug-2020-2,7602,376

README.mdH A D25-Aug-2020683 3020

examples_test.shH A D25-Aug-20204.8 KiB160119

go.modH A D25-Aug-2020278 129

go.sumH A D25-Aug-20208.6 KiB8988

gotutorial.mdH A D25-Aug-202020.8 KiB432336

README.md

1# gRPC Hello World
2
3Follow these setup to run the [quick start][] example:
4
5 1. Get the code:
6
7    ```console
8    $ go get google.golang.org/grpc/examples/helloworld/greeter_client
9    $ go get google.golang.org/grpc/examples/helloworld/greeter_server
10    ```
11
12 2. Run the server:
13
14    ```console
15    $ $(go env GOPATH)/bin/greeter_server &
16    ```
17
18 3. Run the client:
19
20    ```console
21    $ $(go env GOPATH)/bin/greeter_client
22    Greeting: Hello world
23    ```
24
25For more details (including instructions for making a small change to the
26example code) or if you're having trouble running this example, see [Quick
27Start][].
28
29[quick start]: https://grpc.io/docs/languages/go/quickstart
30