Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshalDict ¶
Types ¶
type TorrentFile ¶
type TorrentFile struct {
Announce string `bencode:"announce"`
AnnounceList [][]string
InfoHash [20]byte
PieceHashes [][20]byte
PieceLength int
Length int
Name string
}
func Open ¶
func Open(path string) (TorrentFile, error)
func (*TorrentFile) DownloadToFile ¶
func (t *TorrentFile) DownloadToFile(path string) error
Click to show internal directories.
Click to hide internal directories.