Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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