Record raw upload/download

This commit is contained in:
Justin Li
2014-08-01 16:07:10 -04:00
parent 8051e0e22e
commit ac61c7880d
2 changed files with 34 additions and 28 deletions
+7 -4
View File
@@ -224,10 +224,13 @@ type AnnounceDelta struct {
// Snatched is true if this announce completed the download
Snatched bool
// Uploaded contains the raw upload delta for this announce, in bytes
Uploaded uint64
// Downloaded contains the raw download delta for this announce, in bytes
Downloaded uint64
// Uploaded contains the upload delta for this announce, in bytes
Uploaded uint64
RawUploaded uint64
// Downloaded contains the download delta for this announce, in bytes
Downloaded uint64
RawDownloaded uint64
}
// AnnounceResponse contains the information needed to fulfill an announce.