Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaryanporwal/grpc-go-examples
playground repo
https://github.com/aaryanporwal/grpc-go-examples
Last synced: about 2 months ago
JSON representation
playground repo
- Host: GitHub
- URL: https://github.com/aaryanporwal/grpc-go-examples
- Owner: aaryanporwal
- Created: 2023-02-08T11:16:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-08T11:16:28.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T08:11:00.177Z (3 months ago)
- Language: Go
- Size: 133 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gRPC Hello World
Follow these setup to run the [quick start][] example:
1. Get the code:
```console
$ go get google.golang.org/grpc/examples/helloworld/greeter_client
$ go get google.golang.org/grpc/examples/helloworld/greeter_server
```2. Run the server:
```console
$ $(go env GOPATH)/bin/greeter_server &
```3. Run the client:
```console
$ $(go env GOPATH)/bin/greeter_client
Greeting: Hello world
```For more details (including instructions for making a small change to the
example code) or if you're having trouble running this example, see [Quick
Start][].[quick start]: https://grpc.io/docs/languages/go/quickstart