使用最新的protoc-gen-go和protoc-gen-go-grpc插件编译proto文件

This commit is contained in:
GoEdgeLab
2023-08-07 10:26:22 +08:00
parent 64a6b8ad59
commit a7a170f9c6
150 changed files with 171 additions and 895 deletions

View File

@@ -4,7 +4,8 @@ option go_package = "./pb";
package pb;
message HTTPCachePolicy {
int64 id = 1;
string name = 2;
bool isOn = 3;
int64 id = 1; // ID
string name = 2; // 名称
bool isOn = 3; // 是否启用
bytes maxBytesJSON = 4; // 内容最大尺寸配置
}