sns

package module
v0.0.0-...-3004c95 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPublisher

func NewPublisher(snsClient *awsSns.Client, transformer MessageTransformer) (outbox.Publisher, error)

Types

type MessageTransformer

type MessageTransformer interface {
	Transform(message types.Message) (*sns.PublishInput, error)
}

type Publisher

type Publisher struct {
	// contains filtered or unexported fields
}

func (Publisher) Publish

func (p Publisher) Publish(ctx context.Context, message types.Message) error

Directories

Path Synopsis
internal
sns
sqs

Jump to

Keyboard shortcuts

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