context

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreContext

type CoreContext struct {
	P2pClient     *p2p.P2pClient
	VmManager     vm.Manager
	Cm            *config.ConfigManager
	PkManager     *pk.Manager
	ReportClient  chain.ReportClient
	SubstrateApi  *gsrpc.SubstrateAPI
	TimerService  *utils.TimerService
	EventService  event.IEventService
	ChainListener *listener.ChainListener
	EventContext  *event.EventContext
}

CoreContext the application context , wrapped with some bean

func (*CoreContext) GetConfig

func (c *CoreContext) GetConfig() *config.Config

Jump to

Keyboard shortcuts

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