hooks: add response hook

Fixes #216
This commit is contained in:
Leo Balduf
2016-09-08 10:46:16 -04:00
parent 565ac21834
commit 3ec6f10e93
4 changed files with 69 additions and 6 deletions

View File

@@ -84,8 +84,8 @@ type AnnounceRequest struct {
// response.
type AnnounceResponse struct {
Compact bool
Complete int32
Incomplete int32
Complete uint32
Incomplete uint32
Interval time.Duration
MinInterval time.Duration
IPv4Peers []Peer