This commit is contained in:
Matt Joiner 2016-04-03 16:52:52 +10:00
parent 08830b97a1
commit 501ae0c98c
1 changed files with 4 additions and 2 deletions

View File

@ -54,10 +54,12 @@ type torrent struct {
// get this from the info dict. // get this from the info dict.
length int64 length int64
// The storage to open when the info dict becomes available.
storageOpener storage.I storageOpener storage.I
storage storage.Torrent // Storage for torrent data.
storage storage.Torrent
// The info dict. Nil if we don't have it (yet). // The info dict. nil if we don't have it (yet).
info *metainfo.InfoEx info *metainfo.InfoEx
// Active peer connections, running message stream loops. // Active peer connections, running message stream loops.
conns []*connection conns []*connection