eventpublisher

package
v0.12.0-dev.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.10.0

type Config struct {
	// EthereumKey is the name of the key to use for signing events.
	EthereumKey string `hcl:"ethereum_key"`

	// TeleportEVM is a list of Teleport listeners for EVM-compatible chains.
	TeleportEVM []teleportEVMListener `hcl:"teleport_evm,block"`

	// TeleportStarknet is a list of Teleport listeners for Starknet.
	TeleportStarknet []teleportStarknetListener `hcl:"teleport_starknet,block"`

	// HCL fields:
	Range   hcl.Range       `hcl:",range"`
	Content hcl.BodyContent `hcl:",content"`
	// contains filtered or unexported fields
}

func (*Config) EventPublisher added in v0.10.0

func (c *Config) EventPublisher(d Dependencies) (*publisher.EventPublisher, error)

type Dependencies

type Dependencies struct {
	Keys      ethereumConfig.KeyRegistry
	Clients   ethereumConfig.ClientRegistry
	Transport transport.Transport
	Logger    log.Logger
}

Jump to

Keyboard shortcuts

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