Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.02 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.02 KB

gRPC-with-go

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

Execution result

Unary gRPC

unary

Bi-directional streaming

bidirectional

Client streaming

client-streaming

Server streaming

server-streaming

References