pb.proto 412 B

1234567891011121314
  1. // use under command to generate pb.pb.go
  2. // protoc --proto_path=.:$GOPATH/src/github.com/gogo/protobuf --gogo_out=Mgoogle/protobuf/any.proto=github.com/gogo/protobuf/types:. *.proto
  3. syntax = "proto3";
  4. package render;
  5. import "google/protobuf/any.proto";
  6. import "github.com/gogo/protobuf/gogoproto/gogo.proto";
  7. message PB {
  8. int64 Code = 1;
  9. string Message = 2;
  10. uint64 TTL = 3;
  11. google.protobuf.Any Data = 4;
  12. }