6 "github.com/anacrolix/torrent"
10 c, _ := torrent.NewClient(nil)
12 t, _ := c.AddMagnet("magnet:?xt=urn:btih:ZOCMZQIPFFW7OLLMIC5HUB6BPCSDEOQU")
16 log.Print("ermahgerd, torrent downloaded")
19 func Example_fileReader() {
21 // Accesses the parts of the torrent pertaining to f. Data will be
22 // downloaded as required, per the configuration of the torrent.Reader.