notifications

package
v0.0.0-...-5529f99 Latest Latest
Warning

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

Go to latest
Published: May 24, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendSnsMessageJSON

func SendSnsMessageJSON(message, topicArn string, messageParams map[string]*sns.MessageAttributeValue) error

SendSnsMessageJSON sends given JSON message into provided topic ARN.

Params *message: contains JSON to be send to SNS *topicArn: sns resurce to which we will send *messageParams: is a map of MessageAttributeValue

Returns nil on success

Types

type SNSMessage

type SNSMessage struct {
	Default string `json:"default"`
}

Jump to

Keyboard shortcuts

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