Test Grpc
First run the grpcurl
docker run --rm -v $(pwd):/proto fullstorydev/grpcurl \
-plaintext \
-import-path /proto \
-proto myservice.proto \
172.16.2.82:30490 list
Output: election.ElectionScheduleService
Then List all RPC methods
docker run --rm -v $(pwd):/proto fullstorydev/grpcurl \
-plaintext \
-import-path /proto \
-proto election_schedule.proto \
172.16.2.82:30490 list election.ElectionScheduleService