Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildTopicARN ¶
BuildTopicARN is used to build a topic arn
pattern: "arn:aws:sns:<region>:<aws_account_id>:<topic_name>" It returns an error if one of the parameters is empty
Types ¶
type Producer ¶
type Producer interface {
Produce(ctx context.Context, input *PublishInput) (string, error)
}
Producer represents loafer sns producer
func NewProducer ¶
NewProducer creates a new Producer It encapsulates the Amazon Simple Notification Service client
Click to show internal directories.
Click to hide internal directories.