Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncTask ¶
type AsyncTask interface { GetNewTask(taskType string, time int64) ([]WuKongTask, error) // TODO: async task not wukong task UpdateTask(*WuKongResp) error InsertTask(*domain.WuKongRequest) error GetWaitingTaskRank(types.Account, commondomain.Time, []string) (int, error) GetLastFinishedTask(types.Account, []string) (WuKongResp, error) }
type WuKongResp ¶
type WuKongResp struct { WuKongTask Links domain.Links }
type WuKongTask ¶
type WuKongTask struct { domain.WuKongRequest Id uint64 Status domain.TaskStatus }
func (*WuKongTask) SetDefaultStatusWuKongTask ¶
func (r *WuKongTask) SetDefaultStatusWuKongTask(req *domain.WuKongRequest)
Click to show internal directories.
Click to hide internal directories.