FedP2P/protocol.go

10 lines
184 B
Go
Raw Permalink Normal View History

2017-09-18 11:42:42 +08:00
package torrent
import (
pp "github.com/anacrolix/torrent/peer_protocol"
)
func makeCancelMessage(r Request) pp.Message {
2017-09-18 11:42:42 +08:00
return pp.MakeCancelMessage(r.Index, r.Begin, r.Length)
}