Remove module package, it didn't really give us anything anyway

This commit is contained in:
Neil Alexander 2021-06-05 20:57:03 +01:00
parent cb536a7322
commit 99973b2757
2 changed files with 7 additions and 27 deletions

View file

@ -1,19 +0,0 @@
package module
import (
"github.com/gologme/log"
"github.com/yggdrasil-network/yggdrasil-go/src/admin"
"github.com/yggdrasil-network/yggdrasil-go/src/config"
"github.com/yggdrasil-network/yggdrasil-go/src/core"
)
// Module is an interface that defines which functions must be supported by a
// given Yggdrasil module.
type Module interface {
Init(core *core.Core, state *config.NodeConfig, log *log.Logger, options interface{}) error
Start() error
Stop() error
SetupAdminHandlers(a *admin.AdminSocket)
IsStarted() bool
}