There is a source code that implements the four communication methods of gRPC in Golang.
- Unary gRPC (no streaming)
- Bi-directional streaming
- Client to Server streaming
- Server to Client streaming
To run, you can run the following commands in the server and client folders under each folder.
$ go run server.go
$ go run client.go