mailproviderevents

package
v0.0.0-...-6531ba9 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventHandler

type EventHandler interface {
	OnEventCurrentMailingProviderUpdated(ctx context.Context, msg *mailingpb.EventCurrentMailingProviderUpdated)
	OnEventCurrentMailingProviderReplaced(ctx context.Context, msg *mailingpb.EventCurrentMailingProviderReplaced)
}

EventHandler is the interface that handles events from the mailing service.

type Publisher

type Publisher interface {
	// PublishCurrentMailingProviderReplaced publishes a provider created event.
	PublishCurrentMailingProviderReplaced(ctx context.Context, in *mailingpb.EventCurrentMailingProviderReplaced) error
	// PublishCurrentMailingProviderUpdated publishes a provider updated event.
	PublishCurrentMailingProviderUpdated(ctx context.Context, in *mailingpb.EventCurrentMailingProviderUpdated) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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