Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedFormat = errors.New("uri doesn't starts from prefix")
ErrUnsupportedFormat ...
Functions ¶
This section is empty.
Types ¶
type Magnet ¶
type Magnet struct { // DisplayName is a "dp". DisplayName string // ExactTopics is a "xt". ExactTopics []string // ExactLength is a "xl". ExactLength int64 // AcceptableSources is "as". AcceptableSources []string // ExactSource is a "xs". ExactSource []string // KeywordTopic is a "kt". KeywordTopic []string // ManifestTopic is a "mt". ManifestTopic string // Trackers is a "tr". Trackers []string // AdditionParams is a "x." and other unparsed params. AdditionParams map[string][]string }
Magnet is a parsed URI.
Click to show internal directories.
Click to hide internal directories.