publisher

package
v0.0.0-...-a5a9975 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

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

type PublisherMock struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

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