Documentation
¶
Index ¶
- Variables
- type Task
- type UseCase
- func (u *UseCase) Cmd(ctx context.Context, task Task) error
- func (u *UseCase) Completed(ctx context.Context) error
- func (u *UseCase) Connect(ctx context.Context) (context.Context, error)
- func (u *UseCase) DownloadAssets(ctx context.Context) error
- func (u *UseCase) Info(ctx context.Context, format string, a ...any)
- func (u *UseCase) InfoE(ctx context.Context, err error)
- func (u *UseCase) SubscribeTask(ctx context.Context) iter.Seq[Task]
- func (u *UseCase) UploadAssets(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrConnect = errors.New("failed to connect")
View Source
var ErrConnectionEnd = errors.New("connection end")
Functions ¶
This section is empty.
Types ¶
type Task ¶
type Task struct {
Err error
// contains filtered or unexported fields
}
func (*Task) IsDownload ¶
type UseCase ¶ added in v0.1.2
func (*UseCase) DownloadAssets ¶ added in v0.1.2
func (*UseCase) SubscribeTask ¶ added in v0.1.2
Click to show internal directories.
Click to hide internal directories.