add support for jwt validation of infohashes

This commit is contained in:
Jimmy Zelinskie
2016-01-05 16:57:15 -05:00
parent 4d018d5081
commit 82459297a4
9 changed files with 234 additions and 14 deletions
+1
View File
@@ -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:"-"`