2
0
mirror of synced 2025-02-24 14:48:27 +00:00
torrent/doc.go
2015-04-28 15:24:17 +10:00

17 lines
314 B
Go

/*
Package torrent implements a torrent client.
Simple example:
c, _ := torrent.NewClient(&torrent.Config{})
defer c.Close()
t, _ := c.AddMagnet("magnet:?xt=urn:btih:ZOCMZQIPFFW7OLLMIC5HUB6BPCSDEOQU")
<-t.GotInfo
t.DownloadAll()
c.WaitAll()
log.Print("ermahgerd, torrent downloaded")
*/
package torrent