Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Endpoint string `mapstructure:"endpoint"` TopicArn string `mapstructure:"topic_arn"` Enabled bool `mapstructure:"enabled"` }
Config holds the required sqs config information.
type SNSNotifier ¶
type SNSNotifier struct {
// contains filtered or unexported fields
}
SNSNotifier send push event to a sns topic.
func NewSNSNotifier ¶
func NewSNSNotifier(c Config, log log.Logger) (*SNSNotifier, error)
NewSNSNotifier creates a new SNSNotifier with the given configuration.
Click to show internal directories.
Click to hide internal directories.