FedP2P/protocol.go

10 lines
184 B
Go

package torrent
import (
pp "github.com/anacrolix/torrent/peer_protocol"
)
func makeCancelMessage(r Request) pp.Message {
return pp.MakeCancelMessage(r.Index, r.Begin, r.Length)
}