rebar3_gpb_plugin
rebar3_gpb_plugin copied to clipboard
Can you support GRPC protobuf?
this plugin is mostly a build tool wrapping around gpb
, @tomas-abrahamsson is there grpc support already in gpb
?
gpb not support,but protobuf support service, so rebar3 gpb plugin supported protobuf service?like this:syntax = "proto3";
package helloworld;
// The greeting service definition. service Greeter { // Sends a greeting rpc SayHello (HelloRequest) returns (HelloReply) {} }
// The request message containing the user's name. message HelloRequest { string name = 1; }
// The response message containing the greetings message HelloReply { string message = 1; }
Contributions are welcome!
I'm 2 years late but thought I'd mention gpb has grpc support and is used by grpcbox's plugin https://github.com/tsloughter/grpcbox_plugin/