Documentation ¶
Overview ¶
Package producer contains the domain events needed to support event sourcing of Sink service actions.
Index ¶
Constants ¶
View Source
const ( SinkPrefix = "sinks." SinkCreate = SinkPrefix + "create" SinkDelete = SinkPrefix + "remove" SinkUpdate = SinkPrefix + "update" )
Variables ¶
This section is empty.
Functions ¶
func NewSinkStreamProducerMiddleware ¶ added in v0.29.0
func NewSinkStreamProducerMiddleware(svc sinks.SinkService, client *redis.Client) sinks.SinkService
NewSinkStreamProducerMiddleware returns wrapper around sinks service that sends events to event store.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.