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