Add subsystems and clean up module dependencies

This commit is contained in:
Daniel
2020-04-01 17:14:33 +02:00
parent 279ab67c7e
commit 5523fcf0bd
10 changed files with 78 additions and 55 deletions

View File

@@ -11,7 +11,7 @@ var (
)
func init() {
module = modules.Register("geoip", prep, nil, nil, "updates")
module = modules.Register("geoip", prep, nil, nil, "core")
}
func prep() error {

9
intel/module.go Normal file
View File

@@ -0,0 +1,9 @@
package intel
import (
"github.com/safing/portbase/modules"
)
func init() {
modules.Register("intel", nil, nil, nil, "geoip")
}