# Packages
Copyright (c) 2016-2019 Uber Technologies, Inc.
Copyright (c) 2016-2019 Uber Technologies, Inc.
Copyright (c) 2016-2019 Uber Technologies, Inc.
# Functions
NewTorrentInfo creates a new TorrentInfo.
TorrentInfoFixture returns a randomly generated TorrentInfo for testing purposes.
# Variables
ErrNotFound occurs when TorrentArchive cannot found a torrent.
ErrPieceComplete occurs when Torrent cannot write a piece because it is already complete.
# Structs
TorrentInfo encapsulates read-only torrent information.
# Interfaces
PieceReader defines operations for lazy piece reading.
Torrent represents a read/write interface for a torrent.
TorrentArchive creates and open torrent file.