grpc-mocker/README.md

21 lines
266 B
Markdown
Raw Normal View History

2023-02-18 23:28:01 +05:30
## 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
```sh
cd ./pd
protoc --go_out=. --go-grpc_out=. calc_service.proto
```