Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data interface { // OpenSection(off, n int64) (io.ReadCloser, error) // ReadAt(p []byte, off int64) (n int, err error) // Close() WriteAt(p []byte, off int64) (n int, err error) WriteSectionTo(w io.Writer, off, n int64) (written int64, err error) }
Represents data storage for a Torrent. Additional optional interfaces to implement are io.Closer, io.ReaderAt, StatefulData, and SectionOpener.
Click to show internal directories.
Click to hide internal directories.