mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-18 14:23:42 +00:00
单个peer的文件下载实现
This commit is contained in:
1 parent
fe0138440f
commit
15a4b6ddc4
9 files changed
+179
-48
No files matched your search
@@ -43,7 +43,7 @@ func buildTorrent() *Torrent {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
metaInfo.Announce = "udp://tracker.opentrackr.org:1337/announce"
|
||||
metaInfo.Announce = "udp://exodus.desync.com:6969/announce"
|
||||
metaInfo.AnnounceList = [][]string{}
|
||||
return NewTorrent(peer.GenPeerID(), metaInfo)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user