aws

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindAttributes

func BindAttributes(attributes map[string]interface{}) (map[string]*sns.MessageAttributeValue, error)

Types

type AWSPubSubAdapter

type AWSPubSubAdapter struct {
	// contains filtered or unexported fields
}

func NewAWSPubSubAdapter

func NewAWSPubSubAdapter(region string, accessKeyId string, secretAccessKey string) (*AWSPubSubAdapter, error)

func (*AWSPubSubAdapter) PollMessages

func (ps *AWSPubSubAdapter) PollMessages(topicARN string, handler func(message string) error) error

func (*AWSPubSubAdapter) Publish

func (ps *AWSPubSubAdapter) Publish(topicARN string, message interface{}, messageAttributes map[string]interface{}, isCompressed bool) error

Jump to

Keyboard shortcuts

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