tasker

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFile

func DownloadFile(f *bdpan.FileInfo, path string)

Types

type DownloadTaskInfo

type DownloadTaskInfo struct {
	// From string
	FSID uint64
	To   string
}

type DownloadTasker

type DownloadTasker struct {
	*godler.Tasker
	// 迁移的地址
	File  *bdpan.FileInfo
	To    string
	Token string
}

func NewDownloadTasker

func NewDownloadTasker(f *bdpan.FileInfo, path string) *DownloadTasker

func (*DownloadTasker) AfterRun

func (m *DownloadTasker) AfterRun()

func (*DownloadTasker) BeforeRun

func (m *DownloadTasker) BeforeRun()

func (*DownloadTasker) BuildTasks

func (m *DownloadTasker) BuildTasks()

func (DownloadTasker) RunTask

func (m DownloadTasker) RunTask(task *godler.Task) error

Jump to

Keyboard shortcuts

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