Documentation
¶
Index ¶
- type Progress
- type ProgressTracker
- type Task
- func (t *Task) Downloaded() int64
- func (t *Task) Execute(ctx context.Context) error
- func (t *Task) Phpath() string
- func (t *Task) StorageName() string
- func (t *Task) StoragePath() string
- func (t *Task) TaskID() string
- func (t *Task) Title() string
- func (t *Task) TotalPics() int
- func (t *Task) Type() tasktype.TaskType
- type TaskInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Progress ¶
func NewProgress ¶
type ProgressTracker ¶
type Task ¶
type Task struct {
ID string
Ctx context.Context
PhPath string
Pics []string
Stor storage.Storage
StorPath string
// contains filtered or unexported fields
}
func (*Task) Downloaded ¶
func (*Task) StorageName ¶
func (*Task) StoragePath ¶
Click to show internal directories.
Click to hide internal directories.