status-go/vendor/github.com/anacrolix/torrent/request-strategy/torrent.go

8 lines
117 B
Go

package request_strategy
type Torrent interface {
Piece(int) Piece
ChunksPerPiece() uint32
PieceLength() int64
}