Set up initial outbound synchronization structure

This commit is contained in:
Justin Li
2013-09-06 18:39:14 -04:00
parent ae9eaf4351
commit 080a24c7be
10 changed files with 173 additions and 10 deletions
+10
View File
@@ -36,3 +36,13 @@ type User struct {
Slots int64 `json:"slots"`
SlotsUsed int64 `json:"slots_used"`
}
type AnnounceDelta struct {
Peer *Peer
Torrent *Torrent
User *User
Uploaded uint64
Downloaded uint64
Timestamp float64
}