Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func NewCommand ¶
func NewCommand(o EventStoreOutbox, p Publisher, opts ...CommandOption) *Command
type CommandOption ¶
type CommandOption func(*Command)
func CommandWithLogger ¶
func CommandWithLogger(l log.Logger) CommandOption
func CommandWithMetrics ¶
func CommandWithMetrics(eventsRelayedCount metrics.Counter) CommandOption
type EventStoreOutbox ¶
type EventStoreOutbox interface { UnpublishedEvents(context.Context) ([]RelayEvent, error) MarkEventsAsPublised(context.Context, []RelayEvent) error }
type RelayEvent ¶
func NewRelayEvent ¶
Click to show internal directories.
Click to hide internal directories.