senders

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeanstalkdSender

type BeanstalkdSender struct {
	StatsdClient *statsd.Client
}

BeanstalkdSender - Send Event to beanstalkd

func (*BeanstalkdSender) SendEvent

SendEvent - #BeanstalkdSender SendEvent

type ConsoleEventSender

type ConsoleEventSender struct{}

ConsoleEventSender - Present Event in console

func (*ConsoleEventSender) SendEvent

SendEvent - #ConsoleEventSender SendEvent

type HTTPEventSender

type HTTPEventSender struct{}

HTTPEventSender - Send Event through HTTP

func (*HTTPEventSender) SendEvent

type HTTPProxyEventSender

type HTTPProxyEventSender struct{}

HTTPProxyEventSender - Send Event through HTTP with payload only Different from HTTPEventSender, which parses the whole event body in order to pass event meta data to destinations, HTTPProxyEventSender only parses payload for general usage of third party API calls.

func (*HTTPProxyEventSender) SendEvent

type SqsSender

type SqsSender struct {
	DefaultClient        aws_sqsiface.SQSAPI
	DestinationClientMap map[string]aws_sqsiface.SQSAPI
}

SqsSender - Send Event to AWS SQS

func NewSqsSender

func NewSqsSender(defaultAwsConfig aws.Config) *SqsSender

func (*SqsSender) GetClient

func (*SqsSender) SendEvent

SendEvent - Send incoming event into SQS queue

Jump to

Keyboard shortcuts

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