pluginaws

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxAwsRequestLengthBytes = 262_144 // 256KB
	MaxSQSBatchSize          = 10
)
View Source
const (
	MaxMessageBodyLengthBytes = 100_00 // ~100KB
)

Variables

This section is empty.

Functions

func NewS3Config

func NewS3Config() (*aws.Config, error)

func NewSession

func NewSession() (*session.Session, error)

Types

type SqsClient

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

func NewSqsClient

func NewSqsClient(logger *log.Logger) (*SqsClient, error)

func (*SqsClient) PublishToQueue

func (sc *SqsClient) PublishToQueue(data []*types.Message) error

Jump to

Keyboard shortcuts

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