factory

package
v0.0.0-...-ea98088 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSovereignNotifier

func CreateSovereignNotifier(args ArgsCreateSovereignNotifier) (process.SovereignNotifier, error)

CreateSovereignNotifier creates a sovereign notifier which will notify subscribed handlers about incoming headers

func CreateWsClientReceiverNotifier

func CreateWsClientReceiverNotifier(args ArgsWsClientReceiverNotifier) (process.WSClient, error)

CreateWsClientReceiverNotifier creates a ws client receiver for incoming outport blocks

func CreateWsSovereignNotifier

func CreateWsSovereignNotifier(cfg config.Config) (process.WSClient, error)

CreateWsSovereignNotifier will create a ws sovereign shard notifier

Types

type ArgsCreateSovereignNotifier

type ArgsCreateSovereignNotifier struct {
	MarshallerType   string
	HasherType       string
	SubscribedEvents []config.SubscribedEvent
}

ArgsCreateSovereignNotifier is a struct placeholder for sovereign notifier args

type ArgsWsClientReceiverNotifier

type ArgsWsClientReceiverNotifier struct {
	WebSocketConfig   config.WebSocketConfig
	SovereignNotifier process.SovereignNotifier
}

ArgsWsClientReceiverNotifier is a struct placeholder for ws client receiver args

Jump to

Keyboard shortcuts

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