factory

package
v1.11.3-devnet-patch Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: GPL-3.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEventNotifier

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

CreateEventNotifier will create a new event notifier client instance

func CreateHostDriver added in v1.6.0

func CreateHostDriver(args ArgsHostDriverFactory) (outport.Driver, error)

CreateHostDriver will create a new instance of outport.Driver

func CreateOutport

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

CreateOutport will create a new instance of OutportHandler

Types

type ArgsHostDriverFactory added in v1.6.0

type ArgsHostDriverFactory struct {
	HostConfig config.HostDriversConfig
	Marshaller marshal.Marshalizer
}

type EventNotifierFactoryArgs

type EventNotifierFactoryArgs struct {
	Enabled           bool
	UseAuthorization  bool
	ProxyUrl          string
	Username          string
	Password          string
	RequestTimeoutSec int
	Marshaller        marshal.Marshalizer
}

EventNotifierFactoryArgs defines the args needed for event notifier creation

type OutportFactoryArgs

type OutportFactoryArgs struct {
	IsImportDB                bool
	ShardID                   uint32
	RetrialInterval           time.Duration
	ElasticIndexerFactoryArgs indexerFactory.ArgsIndexerFactory
	EventNotifierFactoryArgs  *EventNotifierFactoryArgs
	HostDriversArgs           []ArgsHostDriverFactory
}

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