Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConsumer ¶
MockConsumer is an autogenerated mock type for the Consumer type
func NewMockMessageConsumer ¶
func NewMockMessageConsumer(t mockConstructorTestingTNewMockMessageConsumer) *MockConsumer
NewMockMessageConsumer creates a new instance of MockConsumer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockConsumer) Close ¶
func (_m *MockConsumer) Close() error
Close provides a mock function with given fields:
func (*MockConsumer) Consume ¶
func (_m *MockConsumer) Consume() (<-chan Message, error)
Consume provides a mock function with given fields:
type Processor ¶
type Processor[Visitor any] struct { // contains filtered or unexported fields }
func NewProcessor ¶
func NewProcessor[Visitor any]( messageConsumer Consumer, eventsDeserializer events.Deserializer[Visitor], eventsVisitor Visitor, ) *Processor[Visitor]
Click to show internal directories.
Click to hide internal directories.