grpc,protoc, protoc-gen-go,rust

Rust 与服务端编程的碎碎念
https://zhuanlan.zhihu.com/p/30028047


GRPC:
golang使用protobuf https://segmentfault.com/a/1190000009277748
Protobuf 相关资料: http://www.cnblogs.com/ghj1976/p/4587736.html

go helloworld: http://www.cnblogs.com/happyframework/p/3321954.html
grpc, go-gateway/restful: https://www.cnblogs.com/sevenyuan/p/8535382.html

https://segmentfault.com/a/1190000008106582 [

Golang gRPC实践 连载七 HTTP协议转换

 

https://grpc.io/docs/quickstart/go.html

https://segmentfault.com/a/1190000015042409  Spring Boot 中使用 grpc 入门

https://www.cnblogs.com/sevenyuan/p/8535382.html protobuffer、gRPC、restful gRPC的相互转化

How to fix this issue with grpc method handler

8

Basically your protoc-gen-go doesn't match the version of grpc. So sync them both to the latest version and reinstall protoc-gen-go will resolve the issue:

go get -u github.com/golang/protobuf/ cd github.com/golang/protobuf/ make go get -u github.com/grpc/grpc-go
++++++++++++++++++++++++++++++++++++

cd /opt/gopath/src/github.com/golang/protobuf/protoc-gen-go/
go build
which protoc-gen-go

 

cd github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
go build
cp protoc-gen-grpc-gateway /usr/bin

 

 

转载于:https://www.cnblogs.com/SZLLQ2000/p/10416663.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值