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