firehose

package
v1.0.1 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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProducer

func NewProducer(destinationConfig interface{}) (firehose.Firehose, error)

NewProducer creates a producer based on destination config

func Produce

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

Produce creates a producer and send data to Firehose.

Types

type Config

type Config struct {
	Region      string
	AccessKeyID string
	AccessKey   string
}

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

Jump to

Keyboard shortcuts

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