First Release

This commit is contained in:
Mukhtar Akere
2024-08-25 05:36:47 +01:00
commit d54706fed6
20 changed files with 1682 additions and 0 deletions

18
cmd/main.go Normal file
View File

@@ -0,0 +1,18 @@
package cmd
import (
"goBlack/common"
"goBlack/debrid"
"log"
)
func Start(config *common.Config) {
log.Print("[*] BlackHole running")
deb := debrid.NewDebrid(config.Debrid)
if config.Proxy.Enabled {
go StartProxy(config, deb)
}
StartBlackhole(config, deb)
}