Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SeekableContent ¶
type SeekableContent interface { io.ReadSeeker io.Closer }
SeekableContent describes an io.ReadSeeker that can be closed as well.
func NewFileReader ¶
func NewFileReader(f *torrent.File) (SeekableContent, error)
NewFileReader sets up a torrent file for streaming reading.
Click to show internal directories.
Click to hide internal directories.