Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("could not find source for id")
Functions ¶
This section is empty.
Types ¶
type CombinedSource ¶
type CombinedSource struct {
// contains filtered or unexported fields
}
func NewCombinedSrc ¶
func NewCombinedSrc(list []Source) *CombinedSource
func (*CombinedSource) Lookup ¶
func (cs *CombinedSource) Lookup(idNum uint64) (util.Range, *torrent.TorrentSpec, error)
type HashSrc ¶
type HashSrc struct { Trackers []string Entries []HashSrcEntry // contains filtered or unexported fields }
func NewHashSrcFromFile ¶
Click to show internal directories.
Click to hide internal directories.