eventbridge

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProducer

func NewProducer(destinationConfig interface{}) (eventbridge.EventBridge, error)

NewProducer creates a producer based on destination config

func Produce

func Produce(jsonData json.RawMessage, producer interface{}, destConfig interface{}) (int, string, string)

Produce creates a producer and send data to EventBridge.

Types

type Config

type Config struct {
	Region      string
	AccessKeyID string
	AccessKey   string
}

Config is the config that is required to send data to EventBridge

Jump to

Keyboard shortcuts

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