Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { Torrents []TorrentInfos // Slice to store information about each torrent being downloaded. // contains filtered or unexported fields }
Model represents the torrent client model.
func (*Model) AddTorrent ¶
AddTorrent adds a new torrent info to the model.
type TorrentInfos ¶
type TorrentInfos struct { Infos Infos // contains filtered or unexported fields }
func (*TorrentInfos) Abort ¶
func (d *TorrentInfos) Abort()
func (*TorrentInfos) Dropped ¶
func (d *TorrentInfos) Dropped()
func (*TorrentInfos) Finished ¶
func (d *TorrentInfos) Finished()
func (*TorrentInfos) Idx ¶
func (d *TorrentInfos) Idx() int
func (*TorrentInfos) IsPaused ¶ added in v0.0.3
func (d *TorrentInfos) IsPaused() bool
func (*TorrentInfos) IsRunning ¶
func (d *TorrentInfos) IsRunning() bool
func (*TorrentInfos) PauseAndPlay ¶
func (d *TorrentInfos) PauseAndPlay()
func (*TorrentInfos) SetETA ¶
func (d *TorrentInfos) SetETA(eta string)
Click to show internal directories.
Click to hide internal directories.