Documentation ¶
Index ¶
- type Controller
- type Daemon
- type DownloadTask
- type Source
- type SourceFS
- func (s *SourceFS) Open(ctx context.Context, filename string) (vfs.File, error)
- func (s *SourceFS) ReadDir(ctx context.Context, path string) ([]fs.DirEntry, error)
- func (s *SourceFS) Rename(ctx context.Context, oldpath string, newpath string) error
- func (s *SourceFS) Stat(ctx context.Context, filename string) (fs.FileInfo, error)
- func (s *SourceFS) Unlink(ctx context.Context, filename string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) Downloaded ¶
func (c *Controller) Downloaded() error
func (*Controller) Source ¶
func (c *Controller) Source() Source
type Daemon ¶
type Daemon struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Daemon) ExecutorName ¶
ExecutorName implements tasks.TaskExecutor.
type DownloadTask ¶
type DownloadTask struct {
Name string
}
func (*DownloadTask) Executor ¶
func (d *DownloadTask) Executor() string
Executor implements tasks.Task.
Click to show internal directories.
Click to hide internal directories.