Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewManagedStatusComponents ¶
func NewManagedStatusComponents(scf *statusComponentsFactory) (*managedStatusComponents, error)
NewManagedStatusComponents returns a new instance of managedStatusComponents
func NewStatusComponentsFactory ¶
func NewStatusComponentsFactory(args StatusComponentsFactoryArgs) (*statusComponentsFactory, error)
NewStatusComponentsFactory will return a status components factory
Types ¶
type StatusComponentsFactoryArgs ¶
type StatusComponentsFactoryArgs struct { Config config.Config ExternalConfig config.ExternalConfig EconomicsConfig config.EconomicsConfig ShardCoordinator sharding.Coordinator NodesCoordinator nodesCoordinator.NodesCoordinator EpochStartNotifier factory.EpochStartNotifier CoreComponents factory.CoreComponentsHolder StatusCoreComponents factory.StatusCoreComponentsHolder NetworkComponents factory.NetworkComponentsHolder StateComponents factory.StateComponentsHolder CryptoComponents factory.CryptoComponentsHolder IsInImportMode bool }
StatusComponentsFactoryArgs redefines the arguments structure needed for the status components factory
Click to show internal directories.
Click to hide internal directories.