Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PieceResult ¶
type PieceResult struct { Downloader *URLDownloader Buffer bufferpool.Buffer Index uint32 Error error Done bool }
type URLDownloader ¶
type URLDownloader struct { URL string Begin, End, Current uint32 // contains filtered or unexported fields }
func New ¶
func New(source string, begin, end uint32) *URLDownloader
func (*URLDownloader) Close ¶
func (d *URLDownloader) Close()
Click to show internal directories.
Click to hide internal directories.