Update proto files and scripts

This commit is contained in:
Nex 2018-09-07 10:28:07 +08:00
parent 42f14bef5f
commit e005d60971
5 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package api; package api;
import "common.proto"; import "common.proto";

View File

@ -1,4 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package api; package api;
enum MessageType { enum MessageType {

View File

@ -1,2 +1,2 @@
mkdir go mkdir go
protoc -I=. --go_out=go tx_ledger.proto ac_chain.proto protoc -I=. --go_out=plugins=grpc:go common.proto tx_ledger.proto ac_chain.proto

2
gen.sh
View File

@ -1,2 +1,2 @@
mkdir go mkdir go
protoc -I=. --go_out=go tx_ledger.proto ac_chain.proto protoc -I=. --go_out=plugins=grpc:go common.proto tx_ledger.proto ac_chain.proto

View File

@ -1,4 +1,5 @@
syntax = "proto3"; syntax = "proto3";
package api; package api;
import "common.proto"; import "common.proto";