ServerName string
UserAgent string
UdpNetwork string
- // If the port is zero, it's assumed to be the same as the Request.Port
+ // If the port is zero, it's assumed to be the same as the Request.Port.
ClientIp4 krpc.NodeAddr
- // If the port is zero, it's assumed to be the same as the Request.Port
+ // If the port is zero, it's assumed to be the same as the Request.Port.
ClientIp6 krpc.NodeAddr
Context context.Context
}
-// In an FP language with currying, what order what you put these params?
-
func (me Announce) Do() (res AnnounceResponse, err error) {
_url, err := url.Parse(me.TrackerUrl)
if err != nil {
t.Parallel()
if testing.Short() {
// This test involves contacting third party servers that may have
- // unpreditable results.
+ // unpredictable results.
t.SkipNow()
}
req := AnnounceRequest{