Documentation
¶
Overview ¶
Package torrentapproval implements a Hook that fails an Announce based on a whitelist or blacklist of torrent hash.
Index ¶
Constants ¶
View Source
const Name = "torrent approval"
Name is the name by which this middleware is registered with Conf.
Variables ¶
View Source
var ErrTorrentUnapproved = bittorrent.ClientError("torrent not allowed by mochi")
ErrTorrentUnapproved is the error returned when a torrent hash is invalid.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Package container contains interface and register used for torrent approval hash source
|
Package container contains interface and register used for torrent approval hash source |
directory
Package directory implements container which checks if hash present in any of torrent file placed in some directory.
|
Package directory implements container which checks if hash present in any of torrent file placed in some directory. |
list
Package list implements container with pre-defined list of torrent hashes from config file
|
Package list implements container with pre-defined list of torrent hashes from config file |
Click to show internal directories.
Click to hide internal directories.