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 CreateOutport ¶
func CreateOutport(args *OutportFactoryArgs) (outport.OutportHandler, error)
CreateOutport will create a new instance of OutportHandler
Types ¶
type EventNotifierFactoryArgs ¶
type EventNotifierFactoryArgs struct {
Enabled bool
UseAuthorization bool
ProxyUrl string
Username string
Password string
RequestTimeoutSec int
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
WebSocketSenderDriverFactoryArgs WrappedOutportDriverWebSocketSenderFactoryArgs
}
OutportFactoryArgs holds the factory arguments of different outport drivers
type WrappedOutportDriverWebSocketSenderFactoryArgs ¶
type WrappedOutportDriverWebSocketSenderFactoryArgs struct {
Enabled bool
wsDriverFactory.OutportDriverWebSocketSenderFactoryArgs
}
WrappedOutportDriverWebSocketSenderFactoryArgs extends the wsDriverFactory.OutportDriverWebSocketSenderFactoryArgs structure with the Enabled field
Click to show internal directories.
Click to hide internal directories.