mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-13 20:20:28 +08:00
增加刷新、预热缓存任务管理
This commit is contained in:
22
pkg/rpc/protos/models/model_http_cache_task.proto
Normal file
22
pkg/rpc/protos/models/model_http_cache_task.proto
Normal file
@@ -0,0 +1,22 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "models/model_user.proto";
|
||||
import "models/model_http_cache_task_key.proto";
|
||||
|
||||
message HTTPCacheTask {
|
||||
int64 id = 1;
|
||||
int64 userId = 2;
|
||||
string type = 3;
|
||||
string keyType = 4;
|
||||
int64 createdAt = 5;
|
||||
int64 doneAt = 6;
|
||||
bool isDone = 7;
|
||||
bool isOk = 8;
|
||||
string description = 9;
|
||||
|
||||
User user = 30;
|
||||
repeated HTTPCacheTaskKey httpCacheTaskKeys = 31;
|
||||
}
|
||||
Reference in New Issue
Block a user