wip: migrate to mono-repo. SPN has already been moved to spn/
This commit is contained in:
20
spn/ships/module.go
Normal file
20
spn/ships/module.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package ships
|
||||
|
||||
import (
|
||||
"github.com/safing/portbase/modules"
|
||||
"github.com/safing/portmaster/spn/conf"
|
||||
)
|
||||
|
||||
var module *modules.Module
|
||||
|
||||
func init() {
|
||||
module = modules.Register("ships", start, nil, nil, "cabin")
|
||||
}
|
||||
|
||||
func start() error {
|
||||
if conf.PublicHub() {
|
||||
initPageInput()
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user