BDLedger APIs
Go to file
huyingcong d8173a5529 delete required field in query_service.proto, for the imcompatibilty in proto3
Summary: delete required field in query_service.proto, for the imcompatibilty in proto3

Test Plan: none

Reviewers: nex

Reviewed By: nex

Differential Revision: https://phabricator.internetapi.cn/D26
2019-11-29 09:27:58 +08:00
bdledger/api delete required field in query_service.proto, for the imcompatibilty in proto3 2019-11-29 09:27:58 +08:00
google/protobuf Update proto files and scripts 2018-09-07 13:22:25 +08:00
.gitignore Make package naming meet Go requirements and 2018-09-26 13:20:22 +08:00
docs.md Update docs 2019-04-23 18:25:47 +08:00
gen-go.bat add hash query 2019-11-25 21:28:03 +08:00
gen-go.sh add hash query 2019-11-25 21:28:03 +08:00
gen-web.bat add hash query 2019-11-25 21:28:03 +08:00
gen-web.sh add hash query 2019-11-25 21:28:03 +08:00
README.md Add web platform 2018-10-31 15:31:46 +08:00
test.md update package name 2019-09-26 18:06:06 +08:00

BDChain gRPC API 指南

编译 Go 版本 gRPC

安装

  • Protocol Buffers 3
    • 下载对应版本,并将可执行程序 protoc 的目录加入到环境变量 PATH
  • Go > 1.6
    # 安装 Go 版本相关插件
    go get -u google.golang.org/grpc
    go get -u github.com/golang/protobuf/protoc-gen-go
    
  • Web
    git clone https://github.com/grpc/grpc-web
    cd grpc-web
    sudo make install-plugin
    

参考资料:

编译

  • 在本项目打开控制台,或者切换工作路径到本项目
  • 执行 ./gen-{{platform}}