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

..03-May-2022-

data/H23-Sep-2021-165133

features/H23-Sep-2021-4,9213,207

helloworld/H23-Sep-2021-505351

route_guide/H23-Sep-2021-2,6882,327

README.mdH A D23-Sep-2021683 3020

examples_test.shH A D23-Sep-20214.8 KiB160119

go.modH A D23-Sep-2021322 1410

go.sumH A D23-Sep-20219.2 KiB9594

gotutorial.mdH A D23-Sep-202120.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