实现缓存策略部分管理功能

This commit is contained in:
GoEdgeLab
2020-10-02 17:22:46 +08:00
parent ba705b878f
commit da9ef1e5e7
15 changed files with 2474 additions and 421 deletions

View File

@@ -0,0 +1,29 @@
syntax = "proto3";
option go_package = "./pb";
package pb;
import "rpc_messages.proto";
service SysSettingService {
// 更改配置
rpc updateSysSetting (UpdateSysSettingRequest) returns (RPCUpdateSuccess);
// 读取配置
rpc readSysSetting (ReadSysSettingRequest) returns (ReadSysSettingResponse);
}
// 更改配置
message UpdateSysSettingRequest {
string code = 1;
bytes valueJSON = 2;
}
// 读取配置
message ReadSysSettingRequest {
string code = 1;
}
message ReadSysSettingResponse {
bytes valueJSON = 1;
}