repository

package
v0.0.0-...-a53383b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 3 Imported by: 3

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL