mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-12 02:28:05 +02:00
14 lines
412 B
Protocol Buffer
14 lines
412 B
Protocol Buffer
// 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;
|
|
} |