mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-12 19:48:13 -07:00
Set up initial outbound synchronization structure
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user