factory

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDataProcessor

func CreateDataProcessor(args *ArgsDataProcessor) (covalent.DataHandler, error)

CreateDataProcessor creates a new data handler instance of type data processor

Types

type ArgsDataProcessor

type ArgsDataProcessor struct {
	PubKeyConvertor  core.PubkeyConverter
	Accounts         covalent.AccountsAdapter
	Hasher           hashing.Hasher
	Marshaller       marshal.Marshalizer
	ShardCoordinator process.ShardCoordinator
}

ArgsDataProcessor holds all input dependencies required by data processor factory in order to create a new data handler instance of type data processor

Jump to

Keyboard shortcuts

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