Comment on tracker.AnnounceRequest.Event

This commit is contained in:
Matt Joiner 2016-05-22 22:42:37 +10:00
parent 2c5eb2ae43
commit 7f6f921aa9
1 changed files with 7 additions and 5 deletions

View File

@ -13,11 +13,13 @@ type AnnounceRequest struct {
Downloaded int64 Downloaded int64
Left uint64 Left uint64
Uploaded int64 Uploaded int64
Event AnnounceEvent // Apparently this is optional. None can be used for announces done at
IPAddress int32 // regular intervals.
Key int32 Event AnnounceEvent
NumWant int32 // How many peer addresses are desired. -1 for default. IPAddress int32
Port uint16 Key int32
NumWant int32 // How many peer addresses are desired. -1 for default.
Port uint16
} // 82 bytes } // 82 bytes
type AnnounceResponse struct { type AnnounceResponse struct {