Documentation ¶
Overview ¶
sns is for sending messages to AWS SNS topics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SNS ¶
type SNS struct {
// contains filtered or unexported fields
}
func (*SNS) Publish ¶
Publish publishes m to the AWS SNS topic cfg.SNS.TopicArn. Errors on publish or an empty MessageId in the publish response are an error. If an error is encountered then publishing is attempted retries more times with a pause of 30s between each attempt. retries can be 0 to attempt publishing only once.
Click to show internal directories.
Click to hide internal directories.