BDLedger APIs
Go to file
huyingcong 08f427899c change go_package path
Summary: change go_package path

Test Plan: none

Reviewers: nex, wuyi

Reviewed By: nex

Differential Revision: https://phabricator.internetapi.cn/D29
2020-01-08 10:04:41 +08:00
bdledger/api change go_package path 2020-01-08 10:04:41 +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 change go_package path 2020-01-08 10:04:41 +08:00
gen-go.bat change go_package path 2020-01-08 10:04:41 +08:00
gen-go.sh change go_package path 2020-01-08 10:04:41 +08:00
gen-web.bat change go_package path 2020-01-08 10:04:41 +08:00
gen-web.sh change go_package path 2020-01-08 10:04:41 +08:00
README.md Add web platform 2018-10-31 15:31:46 +08:00
test.md change go_package path 2020-01-08 10:04:41 +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}}