You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
412 B
14 lines
412 B
6 years ago
|
// 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;
|
||
|
}
|