package
0.1.4
Repository: https://github.com/uber/kraken.git
Documentation: pkg.go.dev

# 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.