torrent/protocol.go

10 lines
184 B
Go
Raw Normal View History

2017-09-18 03:42:42 +00:00
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)
}