Documentation ¶
Index ¶
- func GetSubtaskTaskType(subtaskId uint64, retTaskType *uint32) error
- func GetSubtaskUint(subtaskId uint64, field string, retVal *uint32) error
- func IsSubtaskRunning(subtaskId taskmodel.SubtaskIdType) bool
- func ReadSubtaskStatus(subtaskId taskmodel.SubtaskIdType, statusRet *uint32) error
- func SetSubtaskResult(subtaskId uint64, completeCode taskmodel.SubtaskResultType, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSubtaskTaskType ¶
func GetSubtaskUint ¶
取subtask info key中记录的uint数据
func IsSubtaskRunning ¶
func IsSubtaskRunning(subtaskId taskmodel.SubtaskIdType) bool
func ReadSubtaskStatus ¶
func ReadSubtaskStatus(subtaskId taskmodel.SubtaskIdType, statusRet *uint32) error
func SetSubtaskResult ¶
func SetSubtaskResult( subtaskId uint64, completeCode taskmodel.SubtaskResultType, scanResult interface{}, ppipeline *redis.Pipeliner, ) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.