Documentation ¶
Overview ¶
Package coremodules contains a list of implemented core modules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCoreModuleWrapper ¶
func NewCoreModuleWrapper(log log.T, module contracts.ICoreModule) contracts.ICoreModuleWrapper
Types ¶
type CoreModuleWrapper ¶
type CoreModuleWrapper struct {
// contains filtered or unexported fields
}
func (*CoreModuleWrapper) ModuleExecute ¶
func (c *CoreModuleWrapper) ModuleExecute() error
func (*CoreModuleWrapper) ModuleName ¶
func (c *CoreModuleWrapper) ModuleName() string
func (*CoreModuleWrapper) ModuleStop ¶
func (c *CoreModuleWrapper) ModuleStop(waitTime time.Duration) (err error)
ModuleStop tries to stop module, call is blocking until either module is stopped or until
type ModuleRegistry ¶
type ModuleRegistry []contracts.ICoreModuleWrapper
ModuleRegistry stores a set of core modules.
func RegisteredCoreModules ¶
func RegisteredCoreModules(context context.T) *ModuleRegistry
RegisteredCoreModules returns all registered core modules.
Click to show internal directories.
Click to hide internal directories.