Documentation ¶
Index ¶
- Constants
- type Error
- type ErrorType
- type JSONSerializer
- type Message
- type SQSClient
- func (t *SQSClient[T]) DeleteMessage(message types.Message) error
- func (t *SQSClient[T]) Send(workerCount int, inCh <-chan T) <-chan error
- func (t *SQSClient[T]) SendBatch(workerCount int, inCh <-chan T) <-chan error
- func (t *SQSClient[T]) StartPolling(workerCount int) (<-chan Message[T], <-chan error)
- type Serializer
Constants ¶
View Source
const (
BackoffFactor = 1.5
)
View Source
const (
MaxWaitTime = 127
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONSerializer ¶
type JSONSerializer[T any] struct { }
func (JSONSerializer[T]) Marshal ¶
func (t JSONSerializer[T]) Marshal(in <-chan T) (<-chan string, <-chan error)
Click to show internal directories.
Click to hide internal directories.