grpc-mocker/README.md

266 B

Just tinkering with grpc

Setup

docker-compose up
curl localhost:3001/add/3/2

Test mock server

cd ./server
go test

To generate grpc code using protobuf compiler

cd ./pd
protoc --go_out=. --go-grpc_out=. calc_service.proto