core

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreService

type CoreService struct {
	// contains filtered or unexported fields
}

CoreService represents the ccore service that handles events and notifies attached services.

func NewCoreService

func NewCoreService(ctx *cli.Context) *CoreService

NewCoreService creates a new instance of the CoreService.

func (*CoreService) Close

func (c *CoreService) Close() error

func (*CoreService) Config

func (c *CoreService) Config() *config.CoreConfig

Config returns the configuration of the core

func (*CoreService) Configure

func (c *CoreService) Configure(coreConfig config.CoreConfig) error

func (*CoreService) GetModules added in v1.0.0

func (c *CoreService) GetModules() []string

Get all modules within mevPlus and detrmine if they are in-built or external from the moduleList

func (*CoreService) RelayComms

func (c *CoreService) RelayComms()

func (*CoreService) Start

func (c *CoreService) Start() error

func (*CoreService) Wait

func (c *CoreService) Wait()

Wait blocks until the core is closed.

Jump to

Keyboard shortcuts

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