Skip to content

learnscalability/grpc-echo-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grpc-echo-service

A simple RPC example implemented using gRPC

Instalation

Setup learnscalability/vm

Install project dependencies

$ cd ~/go/src/github.com/learnscalability/grpc-echo-service
$ glide install

How to run

Make sure the protobuf generated pb package is up-to-date:

$ ./script/proto

Running the server

$ go run ./cmd/server/main.go -bind="0.0.0.0:3000"

Running the client, both send and subscribe

$ go run ./cmd/client/main.go -message="hello there" -method="subscribe" -server="0.0.0.0:3000"

Running the godoc tool

godoc -http=:8080

then navigate to 192.168.33.10:8080/pkg/github.com/learnscalability/grpc-echo-service for godoc.org style docs.

About

RPC example using gRPC to build a simple echo server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published