Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Torrent ¶
type Torrent struct { ID int Title string Magnet string PubStamp int64 DownloadedAt time.Time `sql:"-"` TorrentResult `sql:"-"` }
Torrent (magnet links)
func SaveTorrentFromLink ¶
SaveTorrentFromLink creates a Torrent from a link
func (*Torrent) GetByPubStamp ¶
GetByPubStamp find Torrent by PubStamp
func (*Torrent) HumanizeSize ¶
HumanizeSize returns Torrent.Size in human friendly unit
type TorrentResult ¶
Click to show internal directories.
Click to hide internal directories.