Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilePieceInfo ¶
type TorrentInfo ¶
type TorrentInfoFile ¶
func (*TorrentInfoFile) FirstPiece ¶
func (m *TorrentInfoFile) FirstPiece(info *TorrentInfo) FilePieceInfo
type TorrentMetaInfo ¶
type TorrentMetaInfo struct { InfoBytes []byte Announce string AnnounceList []string Nodes []metainfo.HostAddress URLList []string Comment string CreationDate time.Time CreatedBy string Encoding string // contains filtered or unexported fields }
func (*TorrentMetaInfo) Info ¶
func (m *TorrentMetaInfo) Info() (ti *TorrentInfo, err error)
func (*TorrentMetaInfo) InfoHash ¶
func (m *TorrentMetaInfo) InfoHash() string
func (*TorrentMetaInfo) MustInfo ¶
func (m *TorrentMetaInfo) MustInfo() (ti *TorrentInfo)
Click to show internal directories.
Click to hide internal directories.