Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
Listener is a mail provider event listener on NATS.
func NewListener ¶
func NewListener(dependencies *mailing.Dependencies, eventHandler mailproviderevents.EventHandler) (*Listener, error)
NewListener creates a new event Listener.
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
func NewPublisher ¶
func NewPublisher(dependencies *mailing.Dependencies) (*Publisher, error)
NewPublisher creates a new event Publisher.
func (*Publisher) PublishCurrentMailingProviderReplaced ¶
func (*Publisher) PublishCurrentMailingProviderUpdated ¶
func (p *Publisher) PublishCurrentMailingProviderUpdated(ctx context.Context, in *mailingpb.EventCurrentMailingProviderUpdated) error
PublishCurrentMailingProviderUpdated publishes a provider updated event.
Click to show internal directories.
Click to hide internal directories.