FedP2P/request-strategy/piece.go

16 lines
299 B
Go

package request_strategy
import (
"github.com/anacrolix/torrent/types"
)
type Piece struct {
Request bool
Priority piecePriority
Partial bool
Availability int64
Length int64
NumPendingChunks int
IterPendingChunks func(func(types.ChunkSpec))
}