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

..07-Apr-2021-

data/H07-Apr-2021-165133

features/H07-Apr-2021-4,9703,248

helloworld/H07-Apr-2021-500350

route_guide/H07-Apr-2021-2,6842,327

README.mdH A D07-Apr-2021683 3020

examples_test.shH A D07-Apr-20214.8 KiB160119

go.modH A D07-Apr-2021322 1410

go.sumH A D07-Apr-20218.5 KiB8988

gotutorial.mdH A D07-Apr-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