types

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DequeueOptions

type DequeueOptions struct {
	WaitTimeSeconds int
	BatchSize       int
	DeleteMessage   bool
	ParseFunc       func(body string) (any, error)
}

type DequeuedMessage added in v1.1.3

type DequeuedMessage struct {
	MessageId               string
	ReceiptHandle           string
	Body                    string
	ReceivedAt              time.Time
	ApproximateReceiveCount int
}

type EnqueueOptions

type EnqueueOptions struct {
	MessageGroupId  string
	DeduplicationId string
	Attributes      map[string]string
}

type QueueMessage added in v1.1.3

type QueueMessage[T any] struct {
	MessageId     string
	ReceiptHandle string
	Payload       T
	ReceivedAt    time.Time
}

Jump to

Keyboard shortcuts

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