mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 22:26:30 +00:00
13 lines
193 B
Go
13 lines
193 B
Go
|
package request_strategy
|
||
|
|
||
|
type ChunksIterFunc func(func(ChunkIndex))
|
||
|
|
||
|
type ChunksIter interface {
|
||
|
Iter(func(ci ChunkIndex))
|
||
|
}
|
||
|
|
||
|
type Piece interface {
|
||
|
Request() bool
|
||
|
NumPendingChunks() int
|
||
|
}
|