common

package
v0.1.41 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package common provides shared adapter infrastructure used by both primary (inbound) and secondary (outbound) adapters.

In standalone mode a single in-memory event hub backs both the outbound sender (secondary) and the inbound receiver (primary), so the hub instance is shared here. Direction-specific transports (the Kafka sender/receiver) live in the secondary/primary adapters respectively.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() fx.Option

New creates the common adapter module.

Types

type UnsupportedEventProtocolError

type UnsupportedEventProtocolError struct {
	ProtocolType string
}

UnsupportedEventProtocolError is returned when an unsupported event protocol type is specified.

func (*UnsupportedEventProtocolError) Error

Error implements the error interface.

Jump to

Keyboard shortcuts

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