7 "github.com/anacrolix/torrent"
11 c, _ := torrent.NewClient(nil)
13 t, _ := c.AddMagnet("magnet:?xt=urn:btih:ZOCMZQIPFFW7OLLMIC5HUB6BPCSDEOQU")
17 log.Print("ermahgerd, torrent downloaded")
20 func Example_fileReader() {
27 // Access the parts of the torrent pertaining to f. Data will be
28 // downloaded as required, per the configuration of the torrent.Reader.
29 _ = io.NewSectionReader(r, f.Offset(), f.Length())