2016-09-18 06:07
采纳率: 0%
浏览 197

C ++客户端可以调用用golang编写的golang GRPC服务器存根吗?

Can I write a C++ client to call a GRPC routing written in golang? If possible does it need some kind of redirection, i.e, via a stub in C++ invoking golang function? or Is GRPC agnostic what languages the two end points are implemented in?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • doudou7361
    doudou7361 2016-09-18 06:18

    Of course, you can have a GRPC server written in golang, and have a client written in C++. The client code only need to depend on the protobuf definition. It doesn't matter whether the server is written in golang, java, c++ or whatever.

    点赞 评论