Commit 19330834 authored by luxq's avatar luxq

add worker task list

parent ca7c9a73
...@@ -14,6 +14,7 @@ type WorkerInfo struct { ...@@ -14,6 +14,7 @@ type WorkerInfo struct {
BenefitAddress string `redis:"benefit_address" json:"benefit_address"` BenefitAddress string `redis:"benefit_address" json:"benefit_address"`
IP string `redis:"ip" json:"ip"` IP string `redis:"ip" json:"ip"`
Nonce int64 `redis:"nonce" json:"nonce"` Nonce int64 `redis:"nonce" json:"nonce"`
TaskList []string `redis:"task_list" json:"task_list"`
} }
type workerQuery struct { type workerQuery struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment