Merge pull request #129 from chihaya/jwt

add support for jwt validation of infohashes
This commit is contained in:
Jimmy Zelinskie
2016-02-25 14:37:57 -05:00
13 changed files with 269 additions and 29 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:"-"`