factory

package
v0.0.0-...-716ec33 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCovalentIndexer

func CreateCovalentIndexer(args *ArgsCovalentIndexerFactory) (covalent.Driver, error)

CreateCovalentIndexer creates a new Driver instance of type covalent data indexer

Types

type ArgsCovalentIndexerFactory

type ArgsCovalentIndexerFactory struct {
	Enabled              bool
	URL                  string
	RouteSendData        string
	RouteAcknowledgeData string
	PubKeyConverter      core.PubkeyConverter
	Accounts             covalent.AccountsAdapter
	Hasher               hashing.Hasher
	Marshaller           marshal.Marshalizer
	ShardCoordinator     process.ShardCoordinator
}

ArgsCovalentIndexerFactory holds all input dependencies required by covalent data indexer factory in order to create new instances

Jump to

Keyboard shortcuts

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