producer

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

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