Hello world project to learn protobuf and gRPC.
You need these tools in your $PATH
.
$ protoc -I ./proto -I ../googleapis \
--go_out . \
--go-grpc_out . \
--grpc-gateway_out . \
--openapiv2_out . \
./proto/greeter.proto
$ go run .
This will start the gRPC server on tcp://localhost:7777
and the REST server on http://localhost:7778
.
You can use bloomrpc for gRPC as Postman for HTTP.