module

package
v0.3.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2021 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module interface {
	Init(core *yggdrasil.Core, state *config.NodeState, log *log.Logger, options interface{}) error
	Start() error
	Stop() error
	UpdateConfig(config *config.NodeConfig)
	SetupAdminHandlers(a *admin.AdminSocket)
	IsStarted() bool
}

Module is an interface that defines which functions must be supported by a given Yggdrasil module.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL