factory

package
v1.3.44-rosetta1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEventNotifier added in v1.3.29

func CreateEventNotifier(args *EventNotifierFactoryArgs) (outport.Driver, error)

CreateEventNotifier will create a new event notifier client instance

func CreateOutport

func CreateOutport(args *OutportFactoryArgs) (outport.OutportHandler, error)

CreateOutport will create a new instance of OutportHandler

Types

type EventNotifierFactoryArgs added in v1.3.29

type EventNotifierFactoryArgs struct {
	Enabled          bool
	UseAuthorization bool
	ProxyUrl         string
	Username         string
	Password         string
	Marshaller       marshal.Marshalizer
	Hasher           hashing.Hasher
	PubKeyConverter  core.PubkeyConverter
}

EventNotifierFactoryArgs defines the args needed for event notifier creation

type OutportFactoryArgs

type OutportFactoryArgs struct {
	RetrialInterval            time.Duration
	ElasticIndexerFactoryArgs  *indexerFactory.ArgsIndexerFactory
	EventNotifierFactoryArgs   *EventNotifierFactoryArgs
	CovalentIndexerFactoryArgs *covalentFactory.ArgsCovalentIndexerFactory
}

OutportFactoryArgs holds the factory arguments of different outport drivers

Jump to

Keyboard shortcuts

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