Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingPiece = errors.New("missing piece")
View Source
var ErrPeerChoked = errors.New("peer choked")
View Source
var ErrUnexpectedMessage = errors.New("unexpected message")
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
func NewDownloader ¶
func NewDownloader(d decoder.MetafileDecoder, logger *slog.Logger) Downloader
type FilePosition ¶
Click to show internal directories.
Click to hide internal directories.