sqs

package
v0.0.0-...-3909df4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQSClient

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

func (*SQSClient) HealthStatus

func (h *SQSClient) HealthStatus() v1.HealthStatus

func (*SQSClient) Iter

func (c *SQSClient) Iter(ctx context.Context, next v1.NextMessage) error

func (*SQSClient) Produce

func (c *SQSClient) Produce(context context.Context, m *v1.RawMessage) error

type SQSClientFactory

type SQSClientFactory struct {
}

func (*SQSClientFactory) CreateConsumer

func (factory *SQSClientFactory) CreateConsumer(cfg *viper.Viper, logger *zerolog.Logger) v1.Consumer

func (*SQSClientFactory) CreateProducer

func (factory *SQSClientFactory) CreateProducer(cfg *viper.Viper, logger *zerolog.Logger) v1.Producer

type SQSMessage

type SQSMessage struct {
	*sqs.Message
	// contains filtered or unexported fields
}

func (*SQSMessage) Abort

func (m *SQSMessage) Abort(error) bool

func (*SQSMessage) Complete

func (m *SQSMessage) Complete() error

func (*SQSMessage) Data

func (m *SQSMessage) Data() string

func (*SQSMessage) Id

func (m *SQSMessage) Id() string

type SnsMessage

type SnsMessage struct {
	Message string `json:"Message"`
}

Jump to

Keyboard shortcuts

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