mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-14 20:08:36 -07:00
Set IP on the request object
This commit is contained in:
committed by
Jimmy Zelinskie
parent
75b4a20e56
commit
b1f186b665
@@ -19,8 +19,9 @@ type AnnounceRequest struct {
|
||||
Event event.Event
|
||||
InfoHash InfoHash
|
||||
PeerID PeerID
|
||||
IP string
|
||||
Port uint16
|
||||
|
||||
IPv4, IPv6 net.IP
|
||||
Port uint16
|
||||
|
||||
Compact bool
|
||||
NumWant uint64
|
||||
|
||||
Reference in New Issue
Block a user