Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This example will get two numbers from client and returns greatest common divisor of that numbers.

#How to run

  1. Generate go code from proto file
cd pb
protoc -I . --go_out=plugins=grpc:. ./*.proto
  1. Run server
go run server.go
  1. Run client on other terminal
go run client.go 12 10

About

Simplest example about how to use grpc and protobuf

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages