Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetaInfo ¶
type MetaInfo struct { InfoBytes bencode.Bytes `bencode:"info"` Announce string `bencode:"announce,omitempty"` AnnounceList metainfo.AnnounceList `bencode:"announce-list,omitempty"` CreationDate int64 `bencode:"creation date,omitempty"` Comment string `bencode:"comment,omitempty"` CreatedBy string `bencode:"created by,omitempty"` Encoding string `bencode:"encoding,omitempty"` }
func LoadFromFile ¶
Convenience function for loading a MetaInfo from a file.
Click to show internal directories.
Click to hide internal directories.