v0.0.99
change the protobuf plugin for pbex,web,crpc,cgrpc
now:
pbex.method
is a string slice
methods in proto file need to add pbex.method
to declare which server will this method expose to
e.g.
service example{
rpc example_method(req)returns(resp){
option (pbex.method)="get";//this method can expose to web server with http method GET.
option (pbex.method)="crpc";//this method can expose to crpc server
option (pbex.method)="grpc";//this method can expose to grpc server
}
}