torrent/metainfo/piece_key.go

8 lines
111 B
Go

package metainfo
// Uniquely identifies a piece.
type PieceKey struct {
InfoHash Hash
Index pieceIndex
}