Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
Publish(ctx context.Context, params *sns.PublishInput, optFns ...func(*sns.Options)) (*sns.PublishOutput, error)
}
Client defines the AWS SNS methods used by the Publisher. This is used for testing purposes.
type Option ¶
type Option func(*Publisher)
Option is a function to set options to Publisher.
func WithDefaultOrderingKey ¶
WithDefaultOrderingKey setups the default ordering key.
func WithFifoQueue ¶
WithFifoQueue setups the flag to use fifo queue.
func WithMessageIDKey ¶ added in v0.11.0
WithMessageIDKey modify default message id key.
func WithMetaOrderingKey ¶
WithMetaOrderingKey setups the metadata key to get the ordering key.
Click to show internal directories.
Click to hide internal directories.