awssqs

package
v0.3.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: Apache-2.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 AWSConsumer

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

func New

func New(options *ConsumerOptions, cfg config.GenericConfig, pipeline pipeline.IPipelineGroup, eventBuilder entities.EventBuilder) (*AWSConsumer, error)

func (*AWSConsumer) Close

func (a *AWSConsumer) Close() error

type Config

type Config struct {
	QueueURL        string              `json:"queueUrl"`
	Region          string              `json:"region"`
	AccessKeyID     string              `json:"accessKeyId,omitempty"`
	SecretAccessKey config.SecretSource `json:"secretAccessKey,omitempty"`
	SessionToken    config.SecretSource `json:"sessionToken,omitempty"`
}

func (*Config) Validate

func (c *Config) Validate() error

type ConsumerOptions

type ConsumerOptions struct {
	Ctx context.Context
	Log *logrus.Logger
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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