command
module
Version:
v0.4.13
Opens a new window with list of versions in this module.
Published: Mar 1, 2019
License: MIT
Opens a new window with license information.
Imports: 21
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
rain
BitTorrent client and library in Go.
Features
Installing
Get the latest binary from releases page or install development version:
git clone git@github.com:cenkalti/rain $GOPATH/src/github.com/cenkalti/rain
cd $GOPATH/src/github.com/cenkalti/rain
dep ensure
go install
Usage
rain server
command runs a RPC server.
rain client add <magnet_or_torrent>
adds a torrent and print it's ID.
rain client stats <ID>
prints the stats of the torrent.
Run rain help
to see other commands.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
internal
|
|
|
|
|
|
|
|
|
|
bitfield
Package bitfield provides support for manipulating bits in a []byte.
|
Package bitfield provides support for manipulating bits in a []byte. |
|
|
blocklist/stree
Package stree implements a segment tree and serial algorithm to query intervals
|
Package stree implements a segment tree and serial algorithm to query intervals |
btconn
Package btconn provides support for dialing and accepting BitTorrent connections.
|
Package btconn provides support for dialing and accepting BitTorrent connections. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
magnet
Package magnet provides support for parsing magnet links.
|
Package magnet provides support for parsing magnet links. |
metainfo
Package metainfo support for reading and writing torrent files.
|
Package metainfo support for reading and writing torrent files. |
mse
Package mse (Message Stream Encryption) provides a transparent wrapper for bidirectional data streams (e.g.
|
Package mse (Message Stream Encryption) provides a transparent wrapper for bidirectional data streams (e.g. |
|
|
|
|
|
|
|
|
|
Package peerpriority implements BEP 40. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
resumer
Package resumer contains an interface that is used by torrent package for resuming an existing download.
|
Package resumer contains an interface that is used by torrent package for resuming an existing download. |
resumer/boltdbresumer
Package boltdbresumer provides a Resumer implementation that uses a Bolt database file as storage.
|
Package boltdbresumer provides a Resumer implementation that uses a Bolt database file as storage. |
|
|
storage
Package storage contains an interface for reading and writing files in a torrent.
|
Package storage contains an interface for reading and writing files in a torrent. |
storage/filestorage
Package filestorage implements Storage interface that uses files on disk as storage.
|
Package filestorage implements Storage interface that uses files on disk as storage. |
|
|
tracker
Package tracker provides support for announcing torrents to HTTP and UDP trackers.
|
Package tracker provides support for announcing torrents to HTTP and UDP trackers. |
|
|
|
|
|
|
|
|
|
|
Package rainrpc provides a RPC client implementation for communicating with Rain session.
|
Package rainrpc provides a RPC client implementation for communicating with Rain session. |
Package torrent provides a BitTorrent client implementation.
|
Package torrent provides a BitTorrent client implementation. |
Click to show internal directories.
Click to hide internal directories.