Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
data/ | H | 23-Sep-2021 | - | 165 | 133 | |
features/ | H | 23-Sep-2021 | - | 4,921 | 3,207 | |
helloworld/ | H | 23-Sep-2021 | - | 505 | 351 | |
route_guide/ | H | 23-Sep-2021 | - | 2,688 | 2,327 | |
README.md | H A D | 23-Sep-2021 | 683 | 30 | 20 | |
examples_test.sh | H A D | 23-Sep-2021 | 4.8 KiB | 160 | 119 | |
go.mod | H A D | 23-Sep-2021 | 322 | 14 | 10 | |
go.sum | H A D | 23-Sep-2021 | 9.2 KiB | 95 | 94 | |
gotutorial.md | H A D | 23-Sep-2021 | 20.8 KiB | 432 | 336 |
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