mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-06-17 14:06:08 +00:00
Remove module package, it didn't really give us anything anyway
This commit is contained in:
@ -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
|
||||
}
|
Reference in New Issue
Block a user