eventbridge

package
v0.0.0-...-0ade494 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventBridgeClient

type EventBridgeClient interface {
	PutEvents(input *eventbridge.PutEventsInput) (*eventbridge.PutEventsOutput, error)
}

type EventBridgeProducer

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

func NewProducer

func NewProducer(destinationConfig map[string]interface{}, o common.Opts) (*EventBridgeProducer, error)

NewProducer creates a producer based on destination config

func (*EventBridgeProducer) Produce

func (producer *EventBridgeProducer) Produce(jsonData json.RawMessage, _ interface{}) (int, string, string)

Produce creates a producer and send data to EventBridge.

Jump to

Keyboard shortcuts

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