publisher

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package publisher provides the functionalities to publish messages to AWS SNS topic or to a AWS SQS queue that will be consumed by an SQS subscriber. https://github.com/bernardopericacho/htsqs/subscriber

AWS SNS Publisher

Publish messages to the given AWS SNS Topic. Using AWS SNS + SQS (publish/subscribe solution), AWS SNS publisher will publish messages to the SNS topic and they will be broadcast to all the connected SQS queues. For more information about to AWS SQS go to https://aws.amazon.com/sns/

AWS SQS Publisher

Publish messages to the given AWS SQS Queue. AWS SQS publisher will publish messages to the AWS SQS queue for asynchronous message processing. For more information about to AWS SQS go to https://aws.amazon.com/sqs/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

type Publisher interface {
	Publish(ctx context.Context, msg json.Marshaler) error
}

Publisher is the interface clients can use to publish messages

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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