Files
EdgeCommon/pkg/rpc/protos/models/model_http_cache_task_key.proto
2024-03-10 11:24:50 +08:00

20 lines
545 B
Protocol Buffer
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

syntax = "proto3";
option go_package = "./pb";
package pb;
import "models/model_node_cluster.proto";
message HTTPCacheTaskKey {
int64 id = 1; // 缓存键ID
int64 taskId = 2; // 任务ID
string key = 3; // 缓存键
string type = 4; // 操作类型purge|fetch
string keyType = 5; // 键类型key|prefix
bool isDone = 6; // 是否已完成
bool isDoing = 9; // 是否执行中
bytes errorsJSON = 7; // 错误信息
int64 nodeClusterId = 8; // 所属集群ID
NodeCluster nodeCluster = 30; // 所属集群,不一定有内容
}