2
0
mirror of synced 2025-02-23 22:28:11 +00:00
2023-04-29 14:54:49 +10:00

13 lines
192 B
Go

package requestStrategy
type ChunksIterFunc func(func(ChunkIndex))
type ChunksIter interface {
Iter(func(ci ChunkIndex))
}
type Piece interface {
Request() bool
NumPendingChunks() int
}