hhstore / blog

My Tech Blog: about Mojo / Rust / Golang / Python / Kotlin / Flutter / VueJS / Blockchain etc.
https://github.com/hhstore/blog/issues
291 stars 24 forks source link

gRPC: frameworks #62

Open hhstore opened 6 years ago

hhstore commented 6 years ago

go gRPC:

替代方案: turbo


# before: pb3:(pb2)
# cur: /usr/local/Cellar/protobuf/3.5.1_1: 267 files, 18.5MB
brew install protobuf

#
go get github.com/vaporz/turbo

# 安装依赖:
cd github.com/vaporz/turbo
glide install

# 安装cli:
cd github.com/vaporz/turbo
make

# 创建:
turbo create package/path/to/yourservice YourService -r grpc

grpc-gateway:

grpc tools:

ref:

hhstore commented 6 years ago

python gRPC: