mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-25 03:26:36 +08:00
实现缓存策略部分管理功能
This commit is contained in:
29
pkg/rpc/protos/service_sys_setting.proto
Normal file
29
pkg/rpc/protos/service_sys_setting.proto
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user