torrentapproval

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2023 License: BSD-2-Clause Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL