mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-12 19:48:13 -07:00
add support for jwt validation of infohashes
This commit is contained in:
@@ -136,6 +136,7 @@ type Announce struct {
|
||||
NumWant int `json:"numwant"`
|
||||
PeerID string `json:"peer_id"`
|
||||
Uploaded uint64 `json:"uploaded"`
|
||||
JWT string `json:"jwt"`
|
||||
|
||||
Torrent *Torrent `json:"-"`
|
||||
Peer *Peer `json:"-"`
|
||||
|
||||
Reference in New Issue
Block a user