mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-04-28 01:25:19 +08:00
记录和显示最近常用的集群
This commit is contained in:
18
pkg/rpc/protos/service_latest_item.proto
Normal file
18
pkg/rpc/protos/service_latest_item.proto
Normal file
@@ -0,0 +1,18 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "models/rpc_messages.proto";
|
||||
|
||||
// 最近使用的条目服务
|
||||
service LatestItemService {
|
||||
// 记录最近使用的条目
|
||||
rpc increaseLatestItem (IncreaseLatestItemRequest) returns (RPCSuccess);
|
||||
}
|
||||
|
||||
// 记录最近使用的条目
|
||||
message IncreaseLatestItemRequest {
|
||||
string itemType = 1;
|
||||
int64 itemId = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user