Skip to content

Josh2604/grpc-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GRPC Hello World

Requirements

  • MacOs
brew install protobuf
  • Linux
$ curl -OL https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip
$ unzip protoc-3.5.1-linux-x86_64.zip -d protoc3
$ sudo mv protoc3/bin/* /usr/local/bin/
$ sudo mv protoc3/include/* /usr/local/include/

$ sudo chown [user] /usr/local/bin/protoc
$ sudo chown -R [user] /usr/local/include/google

Commands

Compile proto file

$ protoc hello/hello.proto --go_out=plugins=grpc:.

Run

  • Server
$ gor hello/server/server.go
  • Client
$ gor hello/client/client.go

About

Hello world - grpc -golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published