producer

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: MPL-2.0 Imports: 8 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 NewEventStoreMiddleware

func NewEventStoreMiddleware(svc sinks.SinkService, client *redis.Client) sinks.SinkService

NewEventStoreMiddleware 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