Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainEventPublisher ¶
type DomainEventPublisher interface {
Publish(event eventstorming.Event) error
}
type PublisherErrorStub ¶
type PublisherErrorStub struct{}
func (*PublisherErrorStub) Publish ¶
func (mock *PublisherErrorStub) Publish(event eventstorming.Event) error
type PublisherMock ¶
func (*PublisherMock) Publish ¶
func (mock *PublisherMock) Publish(event eventstorming.Event) error
type PublisherSuccessStub ¶
type PublisherSuccessStub struct{}
func (*PublisherSuccessStub) Publish ¶
func (mock *PublisherSuccessStub) Publish(event eventstorming.Event) error
type RedisAdapterDomainEventPublisher ¶
type RedisAdapterDomainEventPublisher struct { RedisUrl string DBIndex string Password string Channel string SaveToEventStore bool EventStore eventstore.EventStore // contains filtered or unexported fields }
func (*RedisAdapterDomainEventPublisher) Publish ¶
func (adapter *RedisAdapterDomainEventPublisher) Publish(event eventstorming.Event) error
Click to show internal directories.
Click to hide internal directories.