responder

package
v0.0.0-...-925cdb7 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProcessFunc

type ProcessFunc func(message string) (string, error)

type RequiredAttributeMissing

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

func (*RequiredAttributeMissing) Error

func (r *RequiredAttributeMissing) Error() string

type Responder

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

func NewResponder

func NewResponder(sqsClient sqsClient, processFunc ProcessFunc) Responder

func (*Responder) ProcessAndReply

func (r *Responder) ProcessAndReply(ctx context.Context, message types.Message) error

Jump to

Keyboard shortcuts

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