Documentation ¶
Index ¶
- type Transmission
- func (t *Transmission) AddURL(args *tool.AddUrlArgs) (string, error)
- func (t *Transmission) Init() (string, error)
- func (t *Transmission) IsReady() bool
- func (t *Transmission) Items() []model.SettingItem
- func (t *Transmission) Name() string
- func (t *Transmission) Remove(task *tool.DownloadTask) error
- func (t *Transmission) Run(task *tool.DownloadTask) error
- func (t *Transmission) Status(task *tool.DownloadTask) (*tool.Status, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transmission ¶
type Transmission struct {
// contains filtered or unexported fields
}
func (*Transmission) AddURL ¶
func (t *Transmission) AddURL(args *tool.AddUrlArgs) (string, error)
func (*Transmission) Init ¶
func (t *Transmission) Init() (string, error)
func (*Transmission) IsReady ¶
func (t *Transmission) IsReady() bool
func (*Transmission) Items ¶
func (t *Transmission) Items() []model.SettingItem
func (*Transmission) Name ¶
func (t *Transmission) Name() string
func (*Transmission) Remove ¶
func (t *Transmission) Remove(task *tool.DownloadTask) error
func (*Transmission) Run ¶
func (t *Transmission) Run(task *tool.DownloadTask) error
func (*Transmission) Status ¶
func (t *Transmission) Status(task *tool.DownloadTask) (*tool.Status, error)
Click to show internal directories.
Click to hide internal directories.