mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-27 04:46:35 +08:00
使用最新的protoc-gen-go和protoc-gen-go-grpc插件编译proto文件
This commit is contained in:
@@ -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; // 内容最大尺寸配置
|
||||
}
|
||||
Reference in New Issue
Block a user