coremodules

package
v0.0.0-...-f6ab670 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 5

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