coremodules

package
v0.0.0-...-0117b6e Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 12 Imported by: 3

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.

Jump to

Keyboard shortcuts

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