mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-27 09:48:09 -07:00
middleware : add torrent approval package
this makes it possible to specify a torrent whitelist/blacklist in the configuration file based on their hexadecimal hash. Fixes #375 Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
This commit is contained in:
@@ -14,6 +14,7 @@ import (
|
||||
// Imported to register as middleware drivers.
|
||||
_ "github.com/chihaya/chihaya/middleware/clientapproval"
|
||||
_ "github.com/chihaya/chihaya/middleware/jwt"
|
||||
_ "github.com/chihaya/chihaya/middleware/torrentapproval"
|
||||
_ "github.com/chihaya/chihaya/middleware/varinterval"
|
||||
|
||||
// Imported to register as storage drivers.
|
||||
|
||||
Reference in New Issue
Block a user